Closed nicmorales9 closed 2 weeks ago
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
reference not found for primary source and source version b11499051fba3acebd151ce1c8822f570ef72082
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
N/A
This adds TLS support to the HTTP endpoint on the fdb kubernetes monitor. This endpoint is for prometheus metrics and potentially
pprof
. If a user supplies either a cert or key to the FDB k8s monitor, it will try to create a HTTPS server instead of a plain HTTP server.This was tested by spinning up pods with this image and with TLS enabled, then curling the HTTP endpoint and verifying that it was HTTPS and was presenting the given cert. I also double checked that metrics were scrapable still with HTTPS on.
Code-Reviewer Section
The general pull request guidelines can be found here.
Please check each of the following things and check all boxes before accepting a PR.
For Release-Branches
If this PR is made against a release-branch, please also check the following:
release-branch
ormain
if this is the youngest branch)