Open miklezzzz opened 1 month ago
@miklezzzz The code may switch to using multiNamespaceInformer instead of the standard SharedIndexInformer. multiNamespaceInformer implements the SharedInformer interface, but is not fully compatible with the SharedIndexInformer interface. We will fix this issue.
What happened: If
--namespace
flag is set (e.g., --namespace=kruise-system), the controller of v1.7.x panics on startup with the following stacktrace:What you expected to happen:
How to reproduce it (as minimally and precisely as possible): see above
Anything else we need to know?:
Environment:
kubectl version
): 1.27