-
Notifications
You must be signed in to change notification settings - Fork 469
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
support networkpolicy that egress to namedport without dst-peer #1037
Conversation
@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? |
dc2b8b9
to
12e58b5
Compare
@murali-reddy done. I'll edit this pr's title |
12e58b5
to
2f864e3
Compare
There was a problem hiding this 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!
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. |
2f864e3
to
411e3ec
Compare
[deprecated]support pod's label changes : #1035
support networkpolicy that egress to namedport without dst-address: #1036