-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
refactor backend SG provider #2836
refactor backend SG provider #2836
Conversation
16ead21
to
d3cd9f7
Compare
d3cd9f7
to
0eb1664
Compare
return true, errors.Wrapf(err, "unable to list ingresses") | ||
} | ||
for _, ing := range ingList.Items { | ||
if !p.checkIngressFinalizersFunc(ing.GetFinalizers()) { |
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.
wondering whether there could be race conditions.
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.
/lgtm
/approve
discussed with kishor, we will take action items to address the comments as follow-ups
/retest |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #2836 +/- ##
==========================================
+ Coverage 54.73% 55.05% +0.31%
==========================================
Files 145 148 +3
Lines 8479 8532 +53
==========================================
+ Hits 4641 4697 +56
- Misses 3503 3505 +2
+ Partials 335 330 -5
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kishorj, M00nF1sh The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Issue
Refactor SG provider modules
Description
The controller currently cleans up auto-allocated backend SG only if there are no active ingress resources managed by the controller. This change causes the lb controller to delete the backend SG as soon as there are no active ingresses requiring automatic SG rules configuration. Also refactor the SG resolver code from the model builder.
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯