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

support networkpolicy that egress to namedport without dst-peer #1037

Merged
merged 1 commit into from
Mar 24, 2021

Conversation

fzu-huang
Copy link
Contributor

@fzu-huang fzu-huang commented Feb 20, 2021

[deprecated]support pod's label changes : #1035
support networkpolicy that egress to namedport without dst-address: #1036

@murali-reddy
Copy link
Member

@fzu-huang Thanks for your PR.

I have already taken care of #1035 in PR #1010 (https://github.com/cloudnativelabs/kube-router/blob/pod-fw-sync/pkg/controllers/netpol/pod.go#L43)

Would you mind if you just address #1036 as part of this PR?

@fzu-huang
Copy link
Contributor Author

fzu-huang commented Feb 21, 2021

@murali-reddy done. I'll edit this pr's title

@fzu-huang fzu-huang changed the title support pod's label changes and networkpolicy that egress to namedport without dst-address support networkpolicy that egress to namedport without dst-address Feb 21, 2021
@fzu-huang fzu-huang changed the title support networkpolicy that egress to namedport without dst-address support networkpolicy that egress to namedport without dst-peer Feb 21, 2021
Copy link
Collaborator

@aauren aauren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This LGTM.

Thanks for the submission!

@aauren
Copy link
Collaborator

aauren commented Mar 19, 2021

With the minor fix that I mentioned, I have done a manual end-to-end test in one of our clusters and have been able to see that this PR works successfully with named ports on egress policies without a host selector.

@murali-reddy murali-reddy merged commit f4b7d61 into cloudnativelabs:master Mar 24, 2021
@fzu-huang fzu-huang deleted the fzu-huang-patch branch March 24, 2021 03:15
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

Successfully merging this pull request may close these issues.

3 participants