You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
W0324 16:05:11.020136 88445 reflector.go:424] pkg/mod/k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169: failed to list *v1.ConfigMap: the server could not find the requested resource (get configmaps.meta.k8s.io)
E0324 16:05:11.020164 88445 reflector.go:140] pkg/mod/k8s.io/client-go@v0.26.3/tools/cache/reflector.go:169: Failed to watch *v1.ConfigMap: failed to list *v1.ConfigMap: the server could not find the requested resource (get configmaps.meta.k8s.io)
When I use ConfigMap as my config plugin, I found that the REST client for List/Watch is missing the GroupVersion information.
my configmap code is
and the error log is
and than i found list/watch url is
the correct url should be that.(miss api/v1)
https://github.com/go-micro/plugins/blob/0bbab425e86658eeb7b55602f184d37c1ea75094/v4/config/source/configmap/watcher.go#L38
I think the code might be like that, or do you have any better ideas?
The text was updated successfully, but these errors were encountered: