<!-- Please use this template while reporting a bug and provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner. Thanks! --> **What happened**: Possible panic when using client-go v0.26.0 - v0.26.3 for discovery. client-go version for karmada: - v1.5 ---v0.26.1 - v1.6 ---v0.26.2 kubernetes issue: https://github.com/kubernetes/kubernetes/issues/119840 **What you expected to happen**: **How to reproduce it (as minimally and precisely as possible)**: **Anything else we need to know?**: Panic can occur for client-go v0.26.0 - v0.26.3 api server v1.27+ **Environment**: - Karmada version: - kubectl-karmada or karmadactl version (the result of `kubectl-karmada version` or `karmadactl version`): - Others: