diff --git a/api/openapi-spec/swagger.json b/api/openapi-spec/swagger.json index 3d58daf9e2f..88b43bad737 100644 --- a/api/openapi-spec/swagger.json +++ b/api/openapi-spec/swagger.json @@ -1449,7 +1449,8 @@ "required": [ "type", "status", - "reason" + "reason", + "message" ], "type": "object" }, @@ -13477,6 +13478,9 @@ "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, + "required": [ + "parentRef" + ], "type": "object" }, "io.k8s.api.networking.v1alpha1.ParentReference": { @@ -13499,6 +13503,10 @@ "type": "string" } }, + "required": [ + "resource", + "name" + ], "type": "object" }, "io.k8s.api.networking.v1alpha1.ServiceCIDR": { diff --git a/api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json b/api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json index 8f5fcfc3613..b4cd0240140 100644 --- a/api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json +++ b/api/openapi-spec/v3/apis__internal.apiserver.k8s.io__v1alpha1_openapi.json @@ -124,7 +124,8 @@ "required": [ "type", "status", - "reason" + "reason", + "message" ], "type": "object" }, diff --git a/api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json b/api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json index d5250fb5c4a..33b43cc5502 100644 --- a/api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json +++ b/api/openapi-spec/v3/apis__networking.k8s.io__v1alpha1_openapi.json @@ -97,6 +97,9 @@ "description": "ParentRef references the resource that an IPAddress is attached to. An IPAddress must reference a parent object." } }, + "required": [ + "parentRef" + ], "type": "object" }, "io.k8s.api.networking.v1alpha1.ParentReference": { @@ -119,6 +122,10 @@ "type": "string" } }, + "required": [ + "resource", + "name" + ], "type": "object" }, "io.k8s.api.networking.v1alpha1.ServiceCIDR": { diff --git a/pkg/generated/openapi/zz_generated.openapi.go b/pkg/generated/openapi/zz_generated.openapi.go index 94789df9a48..4e01bff6706 100644 --- a/pkg/generated/openapi/zz_generated.openapi.go +++ b/pkg/generated/openapi/zz_generated.openapi.go @@ -1559,6 +1559,7 @@ func schema_k8sio_api_admissionregistration_v1_RuleWithOperations(ref common.Ref Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"*", "CONNECT", "CREATE", "DELETE", "UPDATE"}, }, }, }, @@ -2173,6 +2174,7 @@ func schema_k8sio_api_admissionregistration_v1alpha1_NamedRuleWithOperations(ref Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"*", "CONNECT", "CREATE", "DELETE", "UPDATE"}, }, }, }, @@ -2554,6 +2556,7 @@ func schema_k8sio_api_admissionregistration_v1alpha1_ValidatingAdmissionPolicyBi Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"Audit", "Deny", "Warn"}, }, }, }, @@ -3322,6 +3325,7 @@ func schema_k8sio_api_admissionregistration_v1beta1_NamedRuleWithOperations(ref Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"*", "CONNECT", "CREATE", "DELETE", "UPDATE"}, }, }, }, @@ -3746,6 +3750,7 @@ func schema_k8sio_api_admissionregistration_v1beta1_ValidatingAdmissionPolicyBin Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"Audit", "Deny", "Warn"}, }, }, }, @@ -5240,7 +5245,7 @@ func schema_k8sio_api_apiserverinternal_v1alpha1_StorageVersionCondition(ref com }, }, }, - Required: []string{"type", "status", "reason"}, + Required: []string{"type", "status", "reason", "message"}, }, }, Dependencies: []string{ @@ -17046,6 +17051,7 @@ func schema_k8sio_api_certificates_v1_CertificateSigningRequestSpec(ref common.R Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"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"}, }, }, }, @@ -24218,6 +24224,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimSpec(ref common.ReferenceCall Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -24315,6 +24322,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -24388,6 +24396,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeClaimStatus(ref common.ReferenceCa Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"ControllerResizeFailed", "ControllerResizeInProgress", "NodeResizeFailed", "NodeResizeInProgress", "NodeResizePending"}, }, }, }, @@ -24839,6 +24848,7 @@ func schema_k8sio_api_core_v1_PersistentVolumeSpec(ref common.ReferenceCallback) Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"ReadOnlyMany", "ReadWriteMany", "ReadWriteOnce", "ReadWriteOncePod"}, }, }, }, @@ -28000,6 +28010,7 @@ func schema_k8sio_api_core_v1_ResourceQuotaSpec(ref common.ReferenceCallback) co Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"BestEffort", "CrossNamespacePodAffinity", "NotBestEffort", "NotTerminating", "PriorityClass", "Terminating"}, }, }, }, @@ -29455,10 +29466,10 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O }, "externalTrafficPolicy": { SchemaProps: spec.SchemaProps{ - 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\"`\n - `\"Cluster\"` routes traffic to all endpoints.\n - `\"Local\"`\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).", + 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{"string"}, Format: "", - Enum: []interface{}{"Cluster", "Cluster", "Local", "Local"}, + Enum: []interface{}{"Cluster", "Local"}, }, }, "healthCheckNodePort": { @@ -29496,6 +29507,7 @@ func schema_k8sio_api_core_v1_ServiceSpec(ref common.ReferenceCallback) common.O Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"", "IPv4", "IPv6"}, }, }, }, @@ -39480,6 +39492,7 @@ func schema_k8sio_api_networking_v1_NetworkPolicySpec(ref common.ReferenceCallba Default: "", Type: []string{"string"}, Format: "", + Enum: []interface{}{"Egress", "Ingress"}, }, }, }, @@ -39629,6 +39642,7 @@ func schema_k8sio_api_networking_v1alpha1_IPAddressSpec(ref common.ReferenceCall }, }, }, + Required: []string{"parentRef"}, }, }, Dependencies: []string{ @@ -39672,6 +39686,7 @@ func schema_k8sio_api_networking_v1alpha1_ParentReference(ref common.ReferenceCa }, }, }, + Required: []string{"resource", "name"}, }, }, }