Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reflector cannot access NetworkPolicies since v1beta1 change #11

Open
ravens opened this issue Aug 25, 2020 · 3 comments
Open

Reflector cannot access NetworkPolicies since v1beta1 change #11

ravens opened this issue Aug 25, 2020 · 3 comments

Comments

@ravens
Copy link
Contributor

ravens commented Aug 25, 2020

With this commit (1df4750) 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.

@s1061123
Copy link
Member

Thank you so much for the report!

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

@s1061123
Copy link
Member

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

@ravens
Copy link
Contributor Author

ravens commented Aug 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants