client-go icon indicating copy to clipboard operation
client-go copied to clipboard

ManagedFieldsEntryApplyConfiguration Not Part of ObjectMetaApplyConfiguration

Open brito-rafa opened this issue 1 year ago • 0 comments

Hi,

On applyconfigurations/meta/v1 I wonder why ManagedFieldsEntryApplyConfiguration is not nested on ObjectMetaApplyConfiguration.

Is this by design?

Asking because []ManagedFieldsEntry belong to .metadata .

The implementation of ManagedFieldsEntryApplyConfiguration would fit similarly what []OwnerReferenceApplyConfiguration and methods are currently performing on ObjectMetaApplyConfiguration.

Thanks, Rafa

PS: Some may ask why I want to set ManagedFieldsEntry if K8s server side deals with this automatically. I want to build unit tests to parse a variation of ManagedFieldsEntry from a given object.

brito-rafa avatar Sep 24 '24 17:09 brito-rafa