mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-02-18 18:28:18 -05:00
Update generated code
This commit is contained in:
parent
a9034c040e
commit
0ebf47cb08
35 changed files with 107 additions and 13 deletions
29
api/openapi-spec/swagger.json
generated
29
api/openapi-spec/swagger.json
generated
|
|
@ -1694,6 +1694,11 @@
|
|||
"x-kubernetes-list-type": "set"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiServerID",
|
||||
"encodingVersion",
|
||||
"decodableVersions"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.apiserverinternal.v1alpha1.StorageVersion": {
|
||||
|
|
@ -1721,8 +1726,7 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"spec",
|
||||
"status"
|
||||
"metadata"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
|
|
@ -3558,6 +3562,9 @@
|
|||
"description": "status is the current information about the autoscaler."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -3907,6 +3914,9 @@
|
|||
"description": "status is the current information about the autoscaler."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -4350,6 +4360,9 @@
|
|||
"description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -5506,6 +5519,9 @@
|
|||
"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"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -5605,6 +5621,9 @@
|
|||
"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"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -13666,6 +13685,9 @@
|
|||
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
@ -14423,6 +14445,9 @@
|
|||
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -65,6 +65,9 @@
|
|||
"description": "status is the current information about the autoscaler."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -244,6 +244,9 @@
|
|||
"description": "status is the current information about the autoscaler."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
3
api/openapi-spec/v3/apis__batch__v1_openapi.json
generated
3
api/openapi-spec/v3/apis__batch__v1_openapi.json
generated
|
|
@ -40,6 +40,9 @@
|
|||
"description": "Current status of a cron job. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@
|
|||
"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"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@
|
|||
"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"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@
|
|||
"description": "An API server instance reports the version it can decode and the version it encodes objects to when persisting objects in the backend.",
|
||||
"properties": {
|
||||
"apiServerID": {
|
||||
"default": "",
|
||||
"description": "The ID of the reporting API server.",
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -18,6 +19,7 @@
|
|||
"x-kubernetes-list-type": "set"
|
||||
},
|
||||
"encodingVersion": {
|
||||
"default": "",
|
||||
"description": "The API server encodes the object to this version when persisting it in the backend (e.g., etcd).",
|
||||
"type": "string"
|
||||
},
|
||||
|
|
@ -31,6 +33,11 @@
|
|||
"x-kubernetes-list-type": "set"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiServerID",
|
||||
"encodingVersion",
|
||||
"decodableVersions"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"io.k8s.api.apiserverinternal.v1alpha1.StorageVersion": {
|
||||
|
|
@ -73,8 +80,7 @@
|
|||
}
|
||||
},
|
||||
"required": [
|
||||
"spec",
|
||||
"status"
|
||||
"metadata"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
|
|
|
|||
|
|
@ -105,6 +105,9 @@
|
|||
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -31,6 +31,9 @@
|
|||
"description": "spec is the desired state of the IPAddress. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"spec"
|
||||
],
|
||||
"type": "object",
|
||||
"x-kubernetes-group-version-kind": [
|
||||
{
|
||||
|
|
|
|||
16
pkg/generated/openapi/zz_generated.openapi.go
generated
16
pkg/generated/openapi/zz_generated.openapi.go
generated
|
|
@ -2448,6 +2448,7 @@ func schema_k8sio_api_admissionregistration_v1_ValidatingAdmissionPolicyBinding(
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -4043,6 +4044,7 @@ func schema_k8sio_api_admissionregistration_v1alpha1_ValidatingAdmissionPolicyBi
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -5645,6 +5647,7 @@ func schema_k8sio_api_admissionregistration_v1beta1_ValidatingAdmissionPolicyBin
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -7081,6 +7084,7 @@ func schema_k8sio_api_apiserverinternal_v1alpha1_ServerStorageVersion(ref common
|
|||
"apiServerID": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "The ID of the reporting API server.",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
|
|
@ -7088,6 +7092,7 @@ func schema_k8sio_api_apiserverinternal_v1alpha1_ServerStorageVersion(ref common
|
|||
"encodingVersion": {
|
||||
SchemaProps: spec.SchemaProps{
|
||||
Description: "The API server encodes the object to this version when persisting it in the backend (e.g., etcd).",
|
||||
Default: "",
|
||||
Type: []string{"string"},
|
||||
Format: "",
|
||||
},
|
||||
|
|
@ -7133,6 +7138,7 @@ func schema_k8sio_api_apiserverinternal_v1alpha1_ServerStorageVersion(ref common
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"apiServerID", "encodingVersion", "decodableVersions"},
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
@ -7181,7 +7187,7 @@ func schema_k8sio_api_apiserverinternal_v1alpha1_StorageVersion(ref common.Refer
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec", "status"},
|
||||
Required: []string{"metadata"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -14380,6 +14386,7 @@ func schema_k8sio_api_autoscaling_v1_HorizontalPodAutoscaler(ref common.Referenc
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -15351,6 +15358,7 @@ func schema_k8sio_api_autoscaling_v2_HorizontalPodAutoscaler(ref common.Referenc
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -16092,6 +16100,7 @@ func schema_k8sio_api_batch_v1_CronJob(ref common.ReferenceCallback) common.Open
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -17011,6 +17020,7 @@ func schema_k8sio_api_batch_v1beta1_CronJob(ref common.ReferenceCallback) common
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -18564,6 +18574,7 @@ func schema_k8sio_api_coordination_v1alpha2_LeaseCandidate(ref common.ReferenceC
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -18759,6 +18770,7 @@ func schema_k8sio_api_coordination_v1beta1_LeaseCandidate(ref common.ReferenceCa
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -40734,6 +40746,7 @@ func schema_k8sio_api_networking_v1_IPAddress(ref common.ReferenceCallback) comm
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
@ -42188,6 +42201,7 @@ func schema_k8sio_api_networking_v1beta1_IPAddress(ref common.ReferenceCallback)
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
|
|||
|
|
@ -604,6 +604,7 @@ message ValidatingAdmissionPolicyBinding {
|
|||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
// +required
|
||||
optional ValidatingAdmissionPolicyBindingSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -627,6 +627,7 @@ message ValidatingAdmissionPolicyBinding {
|
|||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
// +required
|
||||
optional ValidatingAdmissionPolicyBindingSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -853,6 +853,7 @@ message ValidatingAdmissionPolicyBinding {
|
|||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec defines the desired behavior of the ValidatingAdmissionPolicyBinding.
|
||||
// +required
|
||||
optional ValidatingAdmissionPolicyBindingSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -32,33 +32,40 @@ option go_package = "k8s.io/api/apiserverinternal/v1alpha1";
|
|||
// encodes objects to when persisting objects in the backend.
|
||||
message ServerStorageVersion {
|
||||
// The ID of the reporting API server.
|
||||
// +required
|
||||
optional string apiServerID = 1;
|
||||
|
||||
// The API server encodes the object to this version when persisting it in
|
||||
// the backend (e.g., etcd).
|
||||
// +required
|
||||
optional string encodingVersion = 2;
|
||||
|
||||
// The API server can decode objects encoded in these versions.
|
||||
// The encodingVersion must be included in the decodableVersions.
|
||||
// +listType=set
|
||||
// +required
|
||||
repeated string decodableVersions = 3;
|
||||
|
||||
// The API server can serve these versions.
|
||||
// DecodableVersions must include all ServedVersions.
|
||||
// +listType=set
|
||||
// +optional
|
||||
repeated string servedVersions = 4;
|
||||
}
|
||||
|
||||
// Storage version of a specific resource.
|
||||
message StorageVersion {
|
||||
// The name is <group>.<resource>.
|
||||
// +required
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// Spec is an empty spec. It is here to comply with Kubernetes API style.
|
||||
// +optional
|
||||
optional StorageVersionSpec spec = 2;
|
||||
|
||||
// API server instances report the version they can decode and the version they
|
||||
// encode objects to when persisting objects in the backend.
|
||||
// +optional
|
||||
optional StorageVersionStatus status = 3;
|
||||
}
|
||||
|
||||
|
|
@ -77,6 +84,7 @@ message StorageVersionCondition {
|
|||
optional int64 observedGeneration = 3;
|
||||
|
||||
// Last time the condition transitioned from one status to another.
|
||||
// +optional
|
||||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
|
||||
|
||||
// The reason for the condition's last transition.
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ message HorizontalPodAutoscaler {
|
|||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec defines the behaviour of autoscaler. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status.
|
||||
// +optional
|
||||
// +required
|
||||
optional HorizontalPodAutoscalerSpec spec = 2;
|
||||
|
||||
// status is the current information about the autoscaler.
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@ message HorizontalPodAutoscaler {
|
|||
|
||||
// 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.
|
||||
// +optional
|
||||
// +required
|
||||
optional HorizontalPodAutoscalerSpec spec = 2;
|
||||
|
||||
// status is the current information about the autoscaler.
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ message CronJob {
|
|||
|
||||
// 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
|
||||
// +optional
|
||||
// +required
|
||||
optional CronJobSpec spec = 2;
|
||||
|
||||
// Current status of a cron job.
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ message CronJob {
|
|||
|
||||
// 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
|
||||
// +optional
|
||||
// +required
|
||||
optional CronJobSpec spec = 2;
|
||||
|
||||
// Current status of a cron job.
|
||||
|
|
|
|||
|
|
@ -289,6 +289,7 @@ message PodCertificateRequest {
|
|||
optional .k8s.io.apimachinery.pkg.apis.meta.v1.ObjectMeta metadata = 1;
|
||||
|
||||
// spec contains the details about the certificate being requested.
|
||||
// +required
|
||||
optional PodCertificateRequestSpec spec = 2;
|
||||
|
||||
// status contains the issued certificate, and a standard set of conditions.
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ message LeaseCandidate {
|
|||
|
||||
// spec contains the specification of the Lease.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||
// +optional
|
||||
// +required
|
||||
optional LeaseCandidateSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ message LeaseCandidate {
|
|||
|
||||
// spec contains the specification of the Lease.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||
// +optional
|
||||
// +required
|
||||
optional LeaseCandidateSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ message IPAddress {
|
|||
|
||||
// spec is the desired state of the IPAddress.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||
// +optional
|
||||
// +required
|
||||
optional IPAddressSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -88,7 +88,7 @@ message IPAddress {
|
|||
|
||||
// spec is the desired state of the IPAddress.
|
||||
// More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status
|
||||
// +optional
|
||||
// +required
|
||||
optional IPAddressSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -70,6 +70,7 @@ message ClusterRoleBinding {
|
|||
// 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.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
@ -152,6 +153,7 @@ message RoleBinding {
|
|||
// 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.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ message ClusterRoleBinding {
|
|||
|
||||
// RoleRef can only reference a ClusterRole in the global namespace.
|
||||
// If the RoleRef cannot be resolved, the Authorizer must return an error.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
@ -156,6 +157,7 @@ message RoleBinding {
|
|||
|
||||
// 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.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -71,6 +71,7 @@ message ClusterRoleBinding {
|
|||
|
||||
// RoleRef can only reference a ClusterRole in the global namespace.
|
||||
// If the RoleRef cannot be resolved, the Authorizer must return an error.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
@ -157,6 +158,7 @@ message RoleBinding {
|
|||
|
||||
// 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.
|
||||
// +required
|
||||
optional RoleRef roleRef = 3;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1586,6 +1586,7 @@ message ResourceSlice {
|
|||
// Contains the information published by the driver.
|
||||
//
|
||||
// Changing the spec automatically increments the metadata.generation number.
|
||||
// +required
|
||||
optional ResourceSliceSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -140,6 +140,7 @@ message DeviceTaintRule {
|
|||
// Spec specifies the selector and one taint.
|
||||
//
|
||||
// Changing the spec automatically increments the metadata.generation number.
|
||||
// +required
|
||||
optional DeviceTaintRuleSpec spec = 2;
|
||||
|
||||
// Status provides information about what was requested in the spec.
|
||||
|
|
|
|||
|
|
@ -1613,6 +1613,7 @@ message ResourceSlice {
|
|||
// Contains the information published by the driver.
|
||||
//
|
||||
// Changing the spec automatically increments the metadata.generation number.
|
||||
// +required
|
||||
optional ResourceSliceSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1598,6 +1598,7 @@ message ResourceSlice {
|
|||
// Contains the information published by the driver.
|
||||
//
|
||||
// Changing the spec automatically increments the metadata.generation number.
|
||||
// +required
|
||||
optional ResourceSliceSpec spec = 2;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -510,6 +510,7 @@ message VolumeAttachment {
|
|||
// spec represents specification of the desired attach/detach volume behavior.
|
||||
// Populated by the Kubernetes system.
|
||||
// +k8s:immutable
|
||||
// +required
|
||||
optional VolumeAttachmentSpec spec = 2;
|
||||
|
||||
// status represents status of the VolumeAttachment request.
|
||||
|
|
|
|||
|
|
@ -135,6 +135,7 @@ message VolumeAttachment {
|
|||
// spec represents specification of the desired attach/detach volume behavior.
|
||||
// Populated by the Kubernetes system.
|
||||
// +k8s:immutable
|
||||
// +required
|
||||
optional VolumeAttachmentSpec spec = 2;
|
||||
|
||||
// status represents status of the VolumeAttachment request.
|
||||
|
|
|
|||
|
|
@ -512,6 +512,7 @@ message VolumeAttachment {
|
|||
// spec represents specification of the desired attach/detach volume behavior.
|
||||
// Populated by the Kubernetes system.
|
||||
// +k8s:immutable
|
||||
// +required
|
||||
optional VolumeAttachmentSpec spec = 2;
|
||||
|
||||
// status represents status of the VolumeAttachment request.
|
||||
|
|
|
|||
|
|
@ -425,6 +425,7 @@ func schema_k8sio_api_autoscaling_v1_HorizontalPodAutoscaler(ref common.Referenc
|
|||
},
|
||||
},
|
||||
},
|
||||
Required: []string{"spec"},
|
||||
},
|
||||
},
|
||||
Dependencies: []string{
|
||||
|
|
|
|||
|
|
@ -1443,6 +1443,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||
- name: apiServerID
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: decodableVersions
|
||||
type:
|
||||
list:
|
||||
|
|
@ -1452,6 +1453,7 @@ var schemaYAML = typed.YAMLObject(`types:
|
|||
- name: encodingVersion
|
||||
type:
|
||||
scalar: string
|
||||
default: ""
|
||||
- name: servedVersions
|
||||
type:
|
||||
list:
|
||||
|
|
|
|||
Loading…
Reference in a new issue