Skip to content
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

Randomizing base number for LB rule to allow for updates #729

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

JohnPreston
Copy link
Member

The absolute value of the rules doesn't matter unless there are existing ones.
Therefore, by randomizing with an "offset", we change the rule although the order remains the same, simply by changing the priority.

This allows to update listener rules post create when adding new ones or changing the default one.

Copy link

sonarqubecloud bot commented Dec 12, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@JohnPreston
Copy link
Member Author

Worked for my environment.

@JohnPreston JohnPreston merged commit 3b46570 into main Jan 2, 2024
3 checks passed
@JohnPreston JohnPreston deleted the rework/x-elbv2-rule-priority-rearrange branch February 13, 2024 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant