multi-networkpolicy icon indicating copy to clipboard operation
multi-networkpolicy copied to clipboard

Reflector cannot access NetworkPolicies since v1beta1 change

Open ravens opened this issue 4 years ago • 3 comments

With this commit (https://github.com/k8snetworkplumbingwg/multi-networkpolicy/commit/1df4750eeb1b408c74f200bfed07c1bb9eecd776) it looks like the Reflector used for multi-networkpolicy cannot get the policies with the following error message:

 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1beta1.MultiNetworkPolicy: the server could not find the requested resource (get multi-networkpolicies.k8s.cni.cncf.io)

Reverting the commit fixes the problem.

ravens avatar Aug 25 '20 09:08 ravens

Thank you so much for the report!

Fixed at 7ba9660818e6743b68827f13d4b0cfdf545af143, could you please update it and try it?

s1061123 avatar Aug 25 '20 16:08 s1061123

@ravens hi, I found some issues more, so let me investigate it..

s1061123 avatar Aug 26 '20 08:08 s1061123

Sure, I was actually about to try the new branch, but I will postpone.

ravens avatar Aug 26 '20 09:08 ravens