-
Notifications
You must be signed in to change notification settings - Fork 882
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
feat(Prometheus/ServiceMonitor): add configurable tlsConfig & bearerTokenFile for authentication #931
Conversation
…okenFile for authentication Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>
…ting Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>
I would also like to see this feature added to the chart. If possible the chance to configure |
Would be nice I know, but HashiCorp does not care about contributions from outsiders. This will be laying around forever or they will implement it by themselves. |
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 PR - I appreciate it's been stuck without feedback for a long time, but if you're still interested I'm happy to help you get this landed. I've triggered the test suite and have a few minor comments but this looks pretty close to merging.
Co-authored-by: Tom Proctor <tomhjp@users.noreply.github.com>
Thank you @tomhjp will look at it today |
Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>
100ce36
to
671b27b
Compare
Signed-off-by: Toni Tauro <toni.tauro@adfinis.com>
@tomhjp ready for a review :) |
Hey @eyenx, thanks for your patience. I wanted to try writing a proper integration test that exercised these options for real, I've pushed some WIP in (EDIT) c66c9a2. One thing I learnt while I was looking deeper is that the |
Merged in #1025 - thanks again! |
This implements a configurable
tlsConfig
for theserviceMonitor
used to grab metrics from the Vault API.Additionally it adds the possibility to set a
bearerTokenFile
for authentication purposes.