简体   繁体   中英

Kubernetes Webhook - Multiple hubs defined for group-kind

Trying to deploy my webhook using operator-sdk I got this error in the logs:

conversion check failed {"object": {"metadata":{"creationTimestamp":null},"spec":{},"status":{}}, "error": "multiple(2) hubs defined for group-kind '' "

According to kubebuilder documentation there must be only one hub Conversion and as many Spokes as versions your CRD has.

在此处输入图像描述

In my case there were 2 Hubs methods, so I just delete one of them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM