-
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
change: [M3-7922] - Clear ACLB configuration certificates if http
or tcp
protocol is selected
#10311
change: [M3-7922] - Clear ACLB configuration certificates if http
or tcp
protocol is selected
#10311
Conversation
…tcp` protocol is selected
…http` and `tcp` configutions
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/validation/.changeset/pr-10311-changed-1711379618292.md
Outdated
Show resolved
Hide resolved
// If the user has not manually changed the port, and they select HTTPS, | ||
// set the port to 443 for them. | ||
if (protocol === 'https') { | ||
port = 443; |
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.
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.
When this feature was added, they were okay with no default port for TCP. It will just use whatever was the existing value
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.
Confirmed the before & after fix.
Was able to submit with all protocols ✅
Co-authored-by: Mariah Jacobs <114685994+mjac0bs@users.noreply.github.com>
Description 📝
Updates the ACLB configuration to prevent users from running into an API error.
New API validation was added that will throw if you try to send
certificates
with ahttp
ortcp
configuration. We now need to make sure we don't send certificates if the user selectshttp
ortcp
for their configurationHow to test 🧪
Prerequisites
dev-test-aglb
Reproduction steps
Certificate table must be empty with configuration protocol "http"
Verification steps
As an Author I have considered 🤔