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

pkg/k8s: delete toCIDRSets for more than 2 endpoints #11901

Merged
merged 1 commit into from Jun 4, 2020

Commits on Jun 4, 2020

  1. pkg/k8s: delete toCIDRSets for more than 2 endpoints

    In case a toServices selected a service that contained more than 1
    endpoint, the generated rules could never be deleted. This can easily be
    reproducible by adding one more endpoint to the unit test of the
    deleteToCidrFromEndpoint function.
    
    Fixes: bae09f7 ("Move ToCIDR gen logic to k8s package")
    Signed-off-by: André Martins <andre@cilium.io>
    aanm committed Jun 4, 2020
    Copy the full SHA
    89c03d4 View commit details
    Browse the repository at this point in the history