diff --git a/applyconfigurations/core/v1/volumemountstatus.go b/applyconfigurations/core/v1/volumemountstatus.go index 0fdeb634f..693268ecb 100644 --- a/applyconfigurations/core/v1/volumemountstatus.go +++ b/applyconfigurations/core/v1/volumemountstatus.go @@ -39,7 +39,7 @@ type VolumeMountStatusApplyConfiguration struct { RecursiveReadOnly *corev1.RecursiveReadOnlyMode `json:"recursiveReadOnly,omitempty"` // volumeStatus represents volume-type-specific status about the mounted // volume. - *VolumeStatusApplyConfiguration `json:"volumeStatus,omitempty"` + VolumeStatus *VolumeStatusApplyConfiguration `json:"volumeStatus,omitempty"` } // VolumeMountStatusApplyConfiguration constructs a declarative configuration of the VolumeMountStatus type for use with @@ -80,17 +80,10 @@ func (b *VolumeMountStatusApplyConfiguration) WithRecursiveReadOnly(value corev1 return b } -// WithImage sets the Image field in the declarative configuration to the given value +// WithVolumeStatus sets the VolumeStatus 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 Image field is set to the value of the last call. -func (b *VolumeMountStatusApplyConfiguration) WithImage(value *ImageVolumeStatusApplyConfiguration) *VolumeMountStatusApplyConfiguration { - b.ensureVolumeStatusApplyConfigurationExists() - b.VolumeStatusApplyConfiguration.Image = value +// If called multiple times, the VolumeStatus field is set to the value of the last call. +func (b *VolumeMountStatusApplyConfiguration) WithVolumeStatus(value *VolumeStatusApplyConfiguration) *VolumeMountStatusApplyConfiguration { + b.VolumeStatus = value return b } - -func (b *VolumeMountStatusApplyConfiguration) ensureVolumeStatusApplyConfigurationExists() { - if b.VolumeStatusApplyConfiguration == nil { - b.VolumeStatusApplyConfiguration = &VolumeStatusApplyConfiguration{} - } -} diff --git a/applyconfigurations/internal/internal.go b/applyconfigurations/internal/internal.go index bd1b7cc46..8911efc64 100644 --- a/applyconfigurations/internal/internal.go +++ b/applyconfigurations/internal/internal.go @@ -8423,7 +8423,6 @@ var schemaYAML = typed.YAMLObject(`types: - name: volumeStatus type: namedType: io.k8s.api.core.v1.VolumeStatus - default: {} - name: io.k8s.api.core.v1.VolumeNodeAffinity map: fields: