Closed raptorsun closed 1 week ago
Please see: https://github.com/kubernetes-sigs/controller-tools/issues/1017
Using the latest controller-tools/controller-gen release should fix it
Member
Thank you very much! that resolves the problem :D
/close
@sbueringer: Closing this issue.
After upgrading the dependency k8s.io/api from v0.30.0 to v0.31.1, controller-gen cannot generate CRD from kubebuilder annotated codes. Is there any way to fix this issue in from my code? or there should be a fix in controller-gen or k8s.io/api package? controller-gen reports the error below: