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

[release-4.3] Bug 1816390: handle pod updates correctly in networkpolicy #129

Commits on Apr 6, 2020

  1. Bug 1816394: handle pod updates correctly in networkpolicy

    currently if there are two network policies in a namespace that match an
    incoming pod refreshNetworkPolicies() will only call updateNetworkPolicy()
    on one of them. UpdateNetworkPolicy calls parseNetworkPolicy which updates
    the network policy object.
    
    removing the break in refreshNetworkPolicies() will cause
    updateNetworkPolicy() to be run against all changed networkpolicies which
    will ensure that all changed policies get successfully updated.
    
    also updated the unit tests to expose this issue, so that this issue won't
    be exposed again.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1816394
    JacobTanenbaum committed Apr 6, 2020
    Configuration menu
    Copy the full SHA
    d56d6d1 View commit details
    Browse the repository at this point in the history