Support path exclusion from basic authentication#106
Support path exclusion from basic authentication#106heylongdacoder wants to merge 1 commit intoprometheus:masterfrom
Conversation
|
This PR is based on some of the comment from #70 |
Signed-off-by: heylongdacoder <heylongdacoder@gmail.com>
0a9c07b to
691a40c
Compare
|
Can we make the parameter more generic and also skip TLS cert validation? |
|
@roidelapluie hello, I got two questions:
Thanks in advance. :D |
|
The use case for this is that you can serve /-/health without TLS authentication but the rest with authentication because kube probes do not support certs |
|
This needs a rebase. |
Got it! Let me check how to do this. Thanks :D |
|
Any chance get this merged? Or, maybe, someone can recommend any workarounds for keeping health check works with mTLS/auth added to Even switching health checks to exec of custom |
|
@roidelapluie @SuperQ are you accepting contributions for this issue? Seems like this particular PR lost traction. |
|
To follow up, I'm particularly interested in being able to skip mTLS for |
Hi @rzetelskik, as you may know, this is the part that missing in my PR. I have gone through the HTTP server code a bit regarding this but got no idea how to implement this at this moment. And currently I am busy with my personal life. Please feel free to take this issue 😄 |
Fixes: prometheus/prometheus#9166
Signed-off-by: heylongdacoder heylongdacoder@gmail.com