-
Notifications
You must be signed in to change notification settings - Fork 12
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
feat(securityGroups): Improve robustness of security group reconcilers #373
feat(securityGroups): Improve robustness of security group reconcilers #373
Conversation
236a1d3
to
8659d02
Compare
d79ec97
to
b3f3ebb
Compare
7eb0552
to
bbcd302
Compare
Tested with a large cluster (10+ sg's and 30+ sg rules) and it works well, reconciliation time of sg is greatly improved and more robust. TODO:
|
5b13a4d
to
3b16deb
Compare
3b16deb
to
240af5b
Compare
240af5b
to
cdd42da
Compare
assert.Nil(t, sgrtc.expReconcileSecurityGroupRuleErr) | ||
} | ||
t.Logf("find reconcileSecurityGroupRule %v\n", reconcileSecurityGroupRule) | ||
// TO FIX |
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.
Can you please fix the test first
assert.Nil(t, sgrtc.expReconcileSecurityGroupRuleErr) | ||
} | ||
t.Logf("find reconcileSecurityGroupRule %v\n", reconcileSecurityGroupRule) | ||
// TO FIX |
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.
same here,
Hello, I reviewed this PR and I’m okay with the overall logic. However, some unit tests are failing because of missing calls in certain test cases, additionally, there's a segmentation fault occurring, which likely needs addressing. Could you please update the unit tests to include these missing calls to ensure full coverage of the new logic? |
see #385 |
Rework of the security group reconcilers so that they are more robust and stable.
Add option in security group spec to remove default outbound rule that allows all outbound traffic
fixes #344
fixes #326
fixes #322