-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
HAProxy router fix for ip whitelist exceeding max config arguments that haproxy allows. #20357
HAProxy router fix for ip whitelist exceeding max config arguments that haproxy allows. #20357
Conversation
fixes bugz #1598738
/lgtm But... How much would it hurt performance (a) to use a file always and (b) to write the file using the template? Doing so could simplify the code, obviate the need for Edit: By "always", I mean for any positive number of whitelist entries, but not if there are zero entries. |
@Miciah yeah agree using a file always would be simpler. Bu it does come with a performance effect if a lot of routes use that annotation - does mean more IO + the processing is sequential so it makes for a slower startup. If there's not a lot of routes using that annotation, then it would be ok. |
LGTM |
/approve |
/lgtm |
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
Thanks Ram.
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ironcladlou, Miciah, pravisankar, ramr 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 |
/retest |
1 similar comment
/retest |
Changes to use a file based acl if the annotation for the ip whitelist exceeds the max haproxy config line arguments.
fixes bugz #1598738
/cc @openshift/sig-network-edge