Open
Description
Hey Team!
I've encountered an issue when using apimachinery version v0.31.2.
The following error occurs:
../../../../../go/pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:56:4: unknown field IgnoredFields in struct literal of type merge.Updater
../../../../../go/pkg/mod/k8s.io/[email protected]/pkg/util/managedfields/internal/structuredmerge.go:73:4: unknown field IgnoredFields in struct literal of type merge.Updater
It appears that from structured-merge-diff v4.4.2 (a dependency), the IgnoredFields field was removed. After updating the modules, the above error started occurring.
For now, I’ve downgraded structured-merge-diff
to v4.4.1 by running the following command:
❯ go get sigs.k8s.io/structured-merge-diff/[email protected]
Thank you to all the contributors! I appreciate any guidance on a long-term solution.