Closed emmajiafan closed 1 year ago
meet the same problem here: https://github.com/openshift/ingress-node-firewall/pull/334
I think you need to update controller-runtime to a version that includes https://github.com/kubernetes-sigs/controller-runtime/pull/2223 before updating to client-go 0.27.0 (which may mean controller-runtime needs to tag a version that includes that)
@liggitt Thank you so much!
https://github.com/operator-framework/operator-sdk/issues/6396
.ResourceEventHandlerRegistration does not implement "k8s.io/client-go/tools/cache".ResourceEventHandlerRegistration (missing method HasSynced)
This problem occurs after update the client-go to " >= v0.27.0". The type ResourceEventHandlerRegistration is added to client-go from v0.26.0. But it is different with 0.27.0.
0.26.0: type ResourceEventHandlerRegistration interface{} 0.26.4 type ResourceEventHandlerRegistration interface{} 0.27.0