-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Remove constrains of multiple TLS on certificate auto-discovery #3028
Conversation
Co-authored-by: LechG <lech.gorlewicz@gmail.com>
Hi @jerryhe1999. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3028 +/- ##
==========================================
+ Coverage 54.31% 54.32% +0.01%
==========================================
Files 145 145
Lines 8412 8410 -2
==========================================
Hits 4569 4569
+ Misses 3513 3511 -2
Partials 330 330 ☔ View full report in Codecov by Sentry. |
/ok-to-test |
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.
Thanks for the contribution. Could you also document the manual tests?
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jerryhe1999, kishorj 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 |
/lgtm |
…rnetes-sigs#3028) Co-authored-by: LechG <lech.gorlewicz@gmail.com>
Co-authored-by: LechG lech.gorlewicz@gmail.com
Issue
Fixes: #1598
Description
This PR removes the constraint of single TLS certificate per host during auto-discovery. The controller will now unconditionally auto-discover all matching TLS certificates for the given host. Auto-discovery can still be disabled by specifying the certificates manually via annotation.
The controller is backwards compatible since existing ingresses/groups that are treated valid have only one TLS certificate.
Manual test has been done by creating multiple certificates on the ACM for the same host: mijerryapp.fortest.com, create an ingress for this host, verify ALB gets created and all of the certs get added to the listener. The old controller did not work with the multiple certificates in place.
Checklist
README.md
, or thedocs
directory)BONUS POINTS checklist: complete for good vibes and maybe prizes?! 🤯