-
Notifications
You must be signed in to change notification settings - Fork 367
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
[WIP] Controller side changes for AntreaNetworkPolicy #797
Conversation
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
2cda1e7
to
cbedaf1
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.
On a high level, changes looks pretty reasonable to me.
@@ -114,3 +114,115 @@ func (s GroupMemberPodSet) IsSuperset(o GroupMemberPodSet) bool { | |||
func (s GroupMemberPodSet) Equal(o GroupMemberPodSet) bool { | |||
return len(s) == len(o) && s.IsSuperset(o) | |||
} | |||
|
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.
not sure if the following is required as it is already declared under v1beta1/sets.go
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.
If you look at GroupMemberPodSet it is also defined in both networking/sets.go and v1beta1/sets.go. They might be able to be merged via imports but I am not sure of the scope
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.
Upon testing on local env I found out the functions for addExternalEntity etc. (similar to addPod, updatePod, deletePod) is not yet defined in networkpolicy_controller. Will update the patch to include that.
52789f2
to
8d6d673
Compare
Thanks for your PR. The following commands are available:
These commands can only be run by members of the vmware-tanzu organization. |
fb8699e
to
0bd605c
Compare
Uses interface Endpoints to presents Pod and ExternalEntity in ToAddresses and FromAddresses.
Can one of the admins verify this patch? |
superseded by #1084 |
No description provided.