-
Notifications
You must be signed in to change notification settings - Fork 367
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: [M3-8560] - NodeBalancer Configurations - Support Linodes with Multiple Private IPs #11069
Conversation
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.
The primary changes are here 🚨
Coverage Report: ✅ |
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.
packages/manager/src/features/Linodes/LinodesLanding/IPAddress.tsx
Outdated
Show resolved
Hide resolved
Yes, this is expected! |
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.
✅ Verified linodes with multiple ips can be shown and configured
@@ -3,6 +3,8 @@ import { array, boolean, mixed, number, object, string } from 'yup'; | |||
const PORT_WARNING = 'Port must be between 1 and 65535.'; | |||
const LABEL_WARNING = 'Label must be between 3 and 32 characters.'; | |||
|
|||
export const PRIVATE_IPv4_REGEX = /^10\.|^172\.1[6-9]\.|^172\.2[0-9]\.|^172\.3[0-1]\.|^192\.168\.|^fd/; | |||
|
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.
Much better place for this 🔥
value={options.find((o) => o.label === nodeAddress) ?? null} | ||
/> | ||
); | ||
}); |
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.
✨ Nice refactor
Cloud Manager E2E Run #6661
Run Properties:
|
Project |
Cloud Manager E2E
|
Run status |
Passed #6661
|
Run duration | 28m 36s |
Commit |
60a19258fe: feat: [M3-8560] - NodeBalancer Configurations - Support Linodes with Multiple Pr...
|
Committer | Banks Nussman |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
4
|
Pending |
2
|
Skipped |
0
|
Passing |
435
|
Description 📝
Preview 📷
test-1
test-1
How to test 🧪
Prerequisites
Verification steps
Note
We surface all Private IPs for each Linode but you may run into an API validation error when choosing the
172.
address. This should be fine because the DevCloud team requested we show both options (even though the API may reject one of then)As an Author I have considered 🤔