diff --git a/applyconfigurations/core/v1/containerstatus.go b/applyconfigurations/core/v1/containerstatus.go index 1f525481..2b98c465 100644 --- a/applyconfigurations/core/v1/containerstatus.go +++ b/applyconfigurations/core/v1/containerstatus.go @@ -34,7 +34,7 @@ type ContainerStatusApplyConfiguration struct { ImageID *string `json:"imageID,omitempty"` ContainerID *string `json:"containerID,omitempty"` Started *bool `json:"started,omitempty"` - ResourcesAllocated *corev1.ResourceList `json:"resourcesAllocated,omitempty"` + AllocatedResources *corev1.ResourceList `json:"allocatedResources,omitempty"` Resources *ResourceRequirementsApplyConfiguration `json:"resources,omitempty"` } @@ -116,11 +116,11 @@ func (b *ContainerStatusApplyConfiguration) WithStarted(value bool) *ContainerSt return b } -// WithResourcesAllocated sets the ResourcesAllocated field in the declarative configuration to the given value +// WithAllocatedResources sets the AllocatedResources field in the declarative configuration to the given value // and returns the receiver, so that objects can be built by chaining "With" function invocations. -// If called multiple times, the ResourcesAllocated field is set to the value of the last call. -func (b *ContainerStatusApplyConfiguration) WithResourcesAllocated(value corev1.ResourceList) *ContainerStatusApplyConfiguration { - b.ResourcesAllocated = &value +// If called multiple times, the AllocatedResources field is set to the value of the last call. +func (b *ContainerStatusApplyConfiguration) WithAllocatedResources(value corev1.ResourceList) *ContainerStatusApplyConfiguration { + b.AllocatedResources = &value return b } diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index 27e01663..cde5e823 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -4303,6 +4303,11 @@ var schemaYAML = typed.YAMLObject(`types: - name: io.k8s.api.core.v1.ContainerStatus map: fields: + - name: allocatedResources + type: + map: + elementType: + namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: containerID type: scalar: string @@ -4329,11 +4334,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: resources type: namedType: io.k8s.api.core.v1.ResourceRequirements - - name: resourcesAllocated - type: - map: - elementType: - namedType: io.k8s.apimachinery.pkg.api.resource.Quantity - name: restartCount type: scalar: numeric