make install报错metadata.annotations: Too long: must have at most 262144 bytes
直接贴解决方案
修复方法:打开Makefile,在 manifests 命令处,修改 crd 为 crd:maxDescLen=0
最终结果为
manifests: controller-gen ## Generate WebhookConfiguration, ClusterRole and CustomResourceDefinition objects.
$(CONTROLLER_GEN) rbac:roleName=manager-role crd=maxDescLen=0 webhook paths="./..." output:crd:artifacts:config=config/crd/bases
最后成功install

998

被折叠的 条评论
为什么被折叠?



