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

[Followup] Fix action field in NetworkPolicyEvaluation for KNP #6217

Merged
merged 1 commit into from
Apr 26, 2024

Commits on Apr 25, 2024

  1. Fix action field in NetworkPolicyEvaluation for KNP

    When processing Kubernetes NetworkPolicy, a default action
    Allow is assigned in Antrea controller. This was not handled
    corretly in NetworkPolicyEvaluation action field, for default
    isolation model. As it will undeterminately display action.
    
    This PR fixes the issue, by indicating the rule as default
    isolation with nil action field, and then assigning Isolate
    to the response in NetworkPolicyEvaluation.
    
    Signed-off-by: Qiyue Yao <[email protected]>
    qiyueyao committed Apr 25, 2024
    Configuration menu
    Copy the full SHA
    7fb8e1e View commit details
    Browse the repository at this point in the history