diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 9bd342e5071..febb3b0d9f7 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -21380,6 +21380,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ConfigMap" + } + }, "401": { "description": "Unauthorized" } @@ -21967,6 +21973,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Endpoints" + } + }, "401": { "description": "Unauthorized" } @@ -22554,6 +22566,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Event" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Event" + } + }, "401": { "description": "Unauthorized" } @@ -23141,6 +23159,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.LimitRange" + } + }, "401": { "description": "Unauthorized" } @@ -23728,6 +23752,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, "401": { "description": "Unauthorized" } @@ -23924,6 +23954,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolumeClaim" + } + }, "401": { "description": "Unauthorized" } @@ -24511,6 +24547,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, "401": { "description": "Unauthorized" } @@ -24926,6 +24968,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainers" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.EphemeralContainers" + } + }, "401": { "description": "Unauthorized" } @@ -26084,6 +26132,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Pod" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Pod" + } + }, "401": { "description": "Unauthorized" } @@ -26671,6 +26725,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PodTemplate" + } + }, "401": { "description": "Unauthorized" } @@ -27258,6 +27318,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, "401": { "description": "Unauthorized" } @@ -27454,6 +27520,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, "401": { "description": "Unauthorized" } @@ -27650,6 +27722,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ReplicationController" + } + }, "401": { "description": "Unauthorized" } @@ -28237,6 +28315,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, "401": { "description": "Unauthorized" } @@ -28433,6 +28517,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ResourceQuota" + } + }, "401": { "description": "Unauthorized" } @@ -29020,6 +29110,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Secret" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Secret" + } + }, "401": { "description": "Unauthorized" } @@ -29607,6 +29703,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.ServiceAccount" + } + }, "401": { "description": "Unauthorized" } @@ -30171,6 +30273,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, "401": { "description": "Unauthorized" } @@ -30891,6 +30999,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Service" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Service" + } + }, "401": { "description": "Unauthorized" } @@ -31157,6 +31271,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -31429,6 +31549,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Namespace" + } + }, "401": { "description": "Unauthorized" } @@ -32000,6 +32126,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, "401": { "description": "Unauthorized" } @@ -32696,6 +32828,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.Node" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.Node" + } + }, "401": { "description": "Unauthorized" } @@ -33378,6 +33516,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, "401": { "description": "Unauthorized" } @@ -33566,6 +33710,12 @@ "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.core.v1.PersistentVolume" + } + }, "401": { "description": "Unauthorized" } @@ -39987,6 +40137,12 @@ "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.MutatingWebhookConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -40558,6 +40714,12 @@ "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1.ValidatingWebhookConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -41622,6 +41784,12 @@ "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.MutatingWebhookConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -42193,6 +42361,12 @@ "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.admissionregistration.v1beta1.ValidatingWebhookConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -43290,6 +43464,12 @@ "$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" } @@ -43478,6 +43658,12 @@ "$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" } @@ -44312,6 +44498,12 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, "401": { "description": "Unauthorized" } @@ -44500,6 +44692,12 @@ "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1beta1.CustomResourceDefinition" + } + }, "401": { "description": "Unauthorized" } @@ -45367,6 +45565,12 @@ "$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" } @@ -45555,6 +45759,12 @@ "$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" } @@ -46389,6 +46599,12 @@ "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, "401": { "description": "Unauthorized" } @@ -46577,6 +46793,12 @@ "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.kube-aggregator.pkg.apis.apiregistration.v1beta1.APIService" + } + }, "401": { "description": "Unauthorized" } @@ -47793,6 +48015,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ControllerRevision" + } + }, "401": { "description": "Unauthorized" } @@ -48380,6 +48608,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, "401": { "description": "Unauthorized" } @@ -48576,6 +48810,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.DaemonSet" + } + }, "401": { "description": "Unauthorized" } @@ -49163,6 +49403,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, "401": { "description": "Unauthorized" } @@ -49359,6 +49605,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, "401": { "description": "Unauthorized" } @@ -49555,6 +49807,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.Deployment" + } + }, "401": { "description": "Unauthorized" } @@ -50142,6 +50400,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, "401": { "description": "Unauthorized" } @@ -50338,6 +50602,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, "401": { "description": "Unauthorized" } @@ -50534,6 +50804,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.ReplicaSet" + } + }, "401": { "description": "Unauthorized" } @@ -51121,6 +51397,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, "401": { "description": "Unauthorized" } @@ -51317,6 +51599,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.Scale" + } + }, "401": { "description": "Unauthorized" } @@ -51513,6 +51801,12 @@ "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apps.v1.StatefulSet" + } + }, "401": { "description": "Unauthorized" } @@ -55318,6 +55612,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -55514,6 +55814,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v1.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -56602,6 +56908,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -56798,6 +57110,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta1.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -57886,6 +58204,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -58082,6 +58406,12 @@ "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.autoscaling.v2beta2.HorizontalPodAutoscaler" + } + }, "401": { "description": "Unauthorized" } @@ -59314,6 +59644,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, "401": { "description": "Unauthorized" } @@ -59510,6 +59846,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.CronJob" + } + }, "401": { "description": "Unauthorized" } @@ -60097,6 +60439,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, "401": { "description": "Unauthorized" } @@ -60293,6 +60641,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1.Job" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1.Job" + } + }, "401": { "description": "Unauthorized" } @@ -61738,6 +62092,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, "401": { "description": "Unauthorized" } @@ -61934,6 +62294,12 @@ "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.batch.v1beta1.CronJob" + } + }, "401": { "description": "Unauthorized" } @@ -62928,6 +63294,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -63116,6 +63488,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -63304,6 +63682,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -64138,6 +64522,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -64326,6 +64716,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -64514,6 +64910,12 @@ "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.certificates.v1beta1.CertificateSigningRequest" + } + }, "401": { "description": "Unauthorized" } @@ -65508,6 +65910,12 @@ "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1.Lease" + } + }, "401": { "description": "Unauthorized" } @@ -66596,6 +67004,12 @@ "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.coordination.v1beta1.Lease" + } + }, "401": { "description": "Unauthorized" } @@ -67717,6 +68131,12 @@ "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1.EndpointSlice" + } + }, "401": { "description": "Unauthorized" } @@ -68805,6 +69225,12 @@ "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.discovery.v1beta1.EndpointSlice" + } + }, "401": { "description": "Unauthorized" } @@ -69926,6 +70352,12 @@ "$ref": "#/definitions/io.k8s.api.events.v1.Event" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1.Event" + } + }, "401": { "description": "Unauthorized" } @@ -71014,6 +71446,12 @@ "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.events.v1beta1.Event" + } + }, "401": { "description": "Unauthorized" } @@ -72135,6 +72573,12 @@ "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -72331,6 +72775,12 @@ "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.extensions.v1beta1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -73325,6 +73775,12 @@ "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" + } + }, "401": { "description": "Unauthorized" } @@ -73513,6 +73969,12 @@ "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.FlowSchema" + } + }, "401": { "description": "Unauthorized" } @@ -74084,6 +74546,12 @@ "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -74272,6 +74740,12 @@ "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.flowcontrol.v1beta1.PriorityLevelConfiguration" + } + }, "401": { "description": "Unauthorized" } @@ -75369,6 +75843,12 @@ "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + } + }, "401": { "description": "Unauthorized" } @@ -75557,6 +76037,12 @@ "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.apiserverinternal.v1alpha1.StorageVersion" + } + }, "401": { "description": "Unauthorized" } @@ -76424,6 +76910,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.IngressClass" + } + }, "401": { "description": "Unauthorized" } @@ -77122,6 +77614,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -77318,6 +77816,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -77905,6 +78409,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1.NetworkPolicy" + } + }, "401": { "description": "Unauthorized" } @@ -79564,6 +80074,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.IngressClass" + } + }, "401": { "description": "Unauthorized" } @@ -80262,6 +80778,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -80458,6 +80980,12 @@ "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.networking.v1beta1.Ingress" + } + }, "401": { "description": "Unauthorized" } @@ -81682,6 +82210,12 @@ "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1.RuntimeClass" + } + }, "401": { "description": "Unauthorized" } @@ -82516,6 +83050,12 @@ "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1alpha1.RuntimeClass" + } + }, "401": { "description": "Unauthorized" } @@ -83350,6 +83890,12 @@ "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.node.v1beta1.RuntimeClass" + } + }, "401": { "description": "Unauthorized" } @@ -84233,6 +84779,12 @@ "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, "401": { "description": "Unauthorized" } @@ -84429,6 +84981,12 @@ "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1.PodDisruptionBudget" + } + }, "401": { "description": "Unauthorized" } @@ -85517,6 +86075,12 @@ "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + } + }, "401": { "description": "Unauthorized" } @@ -85713,6 +86277,12 @@ "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodDisruptionBudget" + } + }, "401": { "description": "Unauthorized" } @@ -86395,6 +86965,12 @@ "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.policy.v1beta1.PodSecurityPolicy" + } + }, "401": { "description": "Unauthorized" } @@ -87619,6 +88195,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -88190,6 +88772,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.ClusterRole" + } + }, "401": { "description": "Unauthorized" } @@ -88777,6 +89365,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.RoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -89364,6 +89958,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1.Role" + } + }, "401": { "description": "Unauthorized" } @@ -91364,6 +91964,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -91935,6 +92541,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.ClusterRole" + } + }, "401": { "description": "Unauthorized" } @@ -92522,6 +93134,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.RoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -93109,6 +93727,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Role" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1alpha1.Role" + } + }, "401": { "description": "Unauthorized" } @@ -95109,6 +95733,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -95680,6 +96310,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.ClusterRole" + } + }, "401": { "description": "Unauthorized" } @@ -96267,6 +96903,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.RoleBinding" + } + }, "401": { "description": "Unauthorized" } @@ -96854,6 +97496,12 @@ "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.rbac.v1beta1.Role" + } + }, "401": { "description": "Unauthorized" } @@ -98887,6 +99535,12 @@ "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1.PriorityClass" + } + }, "401": { "description": "Unauthorized" } @@ -99721,6 +100375,12 @@ "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1alpha1.PriorityClass" + } + }, "401": { "description": "Unauthorized" } @@ -100555,6 +101215,12 @@ "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.scheduling.v1beta1.PriorityClass" + } + }, "401": { "description": "Unauthorized" } @@ -101422,6 +102088,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSIDriver" + } + }, "401": { "description": "Unauthorized" } @@ -101993,6 +102665,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.CSINode" + } + }, "401": { "description": "Unauthorized" } @@ -102564,6 +103242,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.StorageClass" + } + }, "401": { "description": "Unauthorized" } @@ -103135,6 +103819,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, "401": { "description": "Unauthorized" } @@ -103323,6 +104013,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1.VolumeAttachment" + } + }, "401": { "description": "Unauthorized" } @@ -104974,6 +105670,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.CSIStorageCapacity" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.CSIStorageCapacity" + } + }, "401": { "description": "Unauthorized" } @@ -105545,6 +106247,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1alpha1.VolumeAttachment" + } + }, "401": { "description": "Unauthorized" } @@ -106736,6 +107444,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIDriver" + } + }, "401": { "description": "Unauthorized" } @@ -107307,6 +108021,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSINode" + } + }, "401": { "description": "Unauthorized" } @@ -108005,6 +108725,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.CSIStorageCapacity" + } + }, "401": { "description": "Unauthorized" } @@ -108576,6 +109302,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.StorageClass" + } + }, "401": { "description": "Unauthorized" } @@ -109147,6 +109879,12 @@ "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" } }, + "201": { + "description": "Created", + "schema": { + "$ref": "#/definitions/io.k8s.api.storage.v1beta1.VolumeAttachment" + } + }, "401": { "description": "Unauthorized" } diff --git a/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go b/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go index 23fca82598f..215ecf715ec 100644 --- a/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go +++ b/staging/src/k8s.io/apiserver/pkg/endpoints/installer.go @@ -805,6 +805,8 @@ func (a *APIInstaller) registerResourceHandlers(path string, storage rest.Storag Operation("patch"+namespaced+kind+strings.Title(subresource)+operationSuffix). Produces(append(storageMeta.ProducesMIMETypes(action.Verb), mediaTypes...)...). Returns(http.StatusOK, "OK", producedObject). + // Patch can return 201 when a server side apply is requested + Returns(http.StatusCreated, "Created", producedObject). Reads(metav1.Patch{}). Writes(producedObject) if err := AddObjectParams(ws, route, versionedPatchOptions); err != nil {