-
Notifications
You must be signed in to change notification settings - Fork 52
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
Copy parent HTTPOption to endpoint probe, if present. #713
Copy parent HTTPOption to endpoint probe, if present. #713
Conversation
6fa0d20
to
b770d17
Compare
I have no idea how I bollixed up the first commit, corrected. |
Codecov Report
@@ Coverage Diff @@
## main #713 +/- ##
==========================================
+ Coverage 93.43% 93.52% +0.08%
==========================================
Files 7 7
Lines 518 525 +7
==========================================
+ Hits 484 491 +7
Misses 16 16
Partials 18 18
Continue to review full report at Codecov.
|
/retest |
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.
This is ready for review.
for _, tls := range ing.Spec.TLS { | ||
for _, host := range tls.Hosts { | ||
t := tls | ||
hostToTLS[host] = &t | ||
hostToTLS[host] = tls |
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.
Since we were making a copy, there was no need to use references here anyway.
// TODO: Probing against HTTP should be enough as it ensures Envoy's EDS? | ||
// Need to verify it by scale-N test with HTTPS. |
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.
Since this converts things to probe HTTPS for HTTPS instances with certificates, I think that should be sufficient for this TODO.
Since we're opening up the ability to probe HTTPS endpoints we'll probably want the following
|
(This change failed until I included the right hostnames in the child KIngress's Re item 2, we already configure I'm not sure what you're thinking of for item 1, given item 2. |
Great
Oh interesting - thought it was stricter. Let's forgo 1 &2 then. |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dprotaso, evankanderson 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 |
Fixes #712