Skip to content

Reflector cannot access NetworkPolicies since v1beta1 change #11

@ravens

Description

@ravens

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/client-go@v0.18.0/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions