-
Notifications
You must be signed in to change notification settings - Fork 40k
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
AWS: support mixed plaintext/encrypted ports in ELBs via service.beta.kubernetes.io/aws-load-balancer-ssl-ports annotation #26976
Conversation
Marking as P1 because without this you can't mix HTTP and HTTPS on a single service with Type=LoadBalancer with our new SSL support, which seems like a very common use-case |
1 similar comment
Fixes kubernetes#26268 Implements the second SSL ELB annotation, per kubernetes#24978 service.beta.kubernetes.io/aws-load-balancer-ssl-ports=* (or e.g. https) If not specified, all ports are secure (SSL or HTTPS).
GCE e2e build/test passed for commit 4ff9e93. |
// getPortSets returns a portSets structure representing port names and numbers | ||
// that the comma-separated string describes. If the input is empty or equal to | ||
// "*", a nil pointer is returned. | ||
func getPortSets(annotation string) (ports *portSets) { |
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.
Nit: we tend to avoid the named-retval style. But I'm just repeating what I've been told!
Some style nits, but nothing we can't fix later (mostly just "for next time" type things) Marking LGTM - thanks for this! |
(Not sure about whether that release-note name is going to be too long...) |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 4ff9e93. |
Automatic merge from submit-queue |
Fixes #26268
Implements the second SSL ELB annotation, per #24978
service.beta.kubernetes.io/aws-load-balancer-ssl-ports=*
(comma-separated list of port numbers or e.g.https
)If not specified, all ports are secure (SSL or HTTPS).