-
Notifications
You must be signed in to change notification settings - Fork 1.5k
add reconciler for securityGroup rules #1421
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
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: M00nF1sh The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
return nil, err | ||
} | ||
containsPermission := false | ||
for _, permission := range ipPermissions { |
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.
what is the expected number of permissions in the worst case?
This could cause a potential bottleneck.
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.
humm, one securityGroup only have at most 10X permissions.
calculations like these will never be bottleneck :D (networking is)
@@ -22,23 +23,29 @@ type ResourceManager interface { | |||
} | |||
|
|||
// NewDefaultResourceManager constructs new defaultResourceManager. | |||
func NewDefaultResourceManager(k8sClient client.Client, elbv2Client services.ELBV2, logger logr.Logger) *defaultResourceManager { | |||
func NewDefaultResourceManager(k8sClient client.Client, elbv2Client services.ELBV2, |
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.
Did you modify the main.go as well? if so please include it together.
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.
update the PR to modify main.go
* add reconciler for securityGroup rules * add networking manager for targetGroupBindings * add sg deployer * fix crd types * add tags handling for securityGroup
raw/description
label is added for the raw description.