-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vendor/sigs.k8s.io/kustomize/pkg/transformers/config/factorycrd.go:71:47: cannot use api.Schema.SchemaProps.Properties (type spec.SchemaProperties) as type myProperties in argument to looksLikeAk8sType #3262
Comments
Looks like thats a very old version of kustomize. Can you update to newer version? |
I don't have kustomize as a direct dependency. It's imported |
Thanks @Shell32-Natsu. Can I ask how is this error even possible? |
I am not sure about this error. What I suspect is there might be some dependency conflict or override. |
Why is this closed? Did anybody manage to solve this @geokb, @dsimansk, @Shell32-Natsu ? |
@erir910 If you involved old version of kustomize via kubectl, you may need to wait for a couple of days. We are nearly finishing the reintegration for kustomize and kubectl. |
@Shell32-Natsu thanks! does that mean it is coming in v0.20.x? as for my case, I didn't actually add kustomize dependency, it's automatically added because I imported helmv3 as a library. I am afraid even if you fix this, I have to wait until helm guys update their kubectl dependency too. |
@erir910 We want to do it ASAP but it not a trivial change for kubectl. |
I had a similar problem; |
Upon upgrading my
k8s.io/client-go
dependency from v0.18 to v0.19, the build fails with the message. This failure happens both in my machine and in Github action runners.If that helps, here is the output of
go mod graph | grep kustomize
The weird thing is that the error itself doesn't make any sense. I checked that file
sigs.k8s.io/kustomize/pkg/transformers/config/factorycrd.go:71
and the types are equivalent. The solution in helm/helm#8616 (comment) is not really a solution since it pinsk8s.io/client-go
tov0.18
The text was updated successfully, but these errors were encountered: