-
Notifications
You must be signed in to change notification settings - Fork 275
feat(chart/opensearch): add ability for serviceMonitor basicauth #594
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(chart/opensearch): add ability for serviceMonitor basicauth #594
Conversation
|
Note: We are in the review of an older PR now so will come back to this a little later. |
|
@peterzhuamazon any update here? Thanks! |
|
@peterzhuamazon any update here? |
peterzhuamazon
left a comment
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.
charts/opensearch/values.yaml
Outdated
| # password: | ||
| # secretName: credentials | ||
| # secretKey: password | ||
| basicAuth: {} |
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 @eyenx can you please some details in the README ? also can basicAuth have one secret with username and password ?
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.
I will take a look at it tomorrow
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.
I now added a existingSecret functionality and a way to deliver the username & pw over the helm charts values
c4b5ba0 to
f3a06ee
Compare
|
Hi @TheAlgo @prudhvigodithi please take another pass before I give an approval. Thanks. |
|
Pinging @prudhvigodithi @TheAlgo again to co-review. Thanks! |
f3a06ee to
9d239a8
Compare
|
@prudhvigodithi @TheAlgo @peterzhuamazon Another attempt at getting this merged! Please review! Thank you! |
|
I would also be very happy to backport this to version |
|
Adding @TheAlgo @prudhvigodithi @DandyDeveloper @gaiksaya to take a look. Thanks! |
|
Hi Team, When we can expect a 1.3.x version of this changes (#593 as well)? Thanks, |
|
As soon as this gets merged I will backport it. |
|
Will rebase today |
Signed-off-by: Toni Tauro <[email protected]>
Signed-off-by: Toni Tauro <[email protected]>
Signed-off-by: Toni Tauro <[email protected]>
9d239a8 to
5dd0ace
Compare
|
Ready for Review @TheAlgo @DandyDeveloper @gaiksaya @prudhvigodithi |
Signed-off-by: Toni Tauro <[email protected]>
Signed-off-by: Toni Tauro <[email protected]>
Signed-off-by: Toni Tauro <[email protected]>
Thanks much @eyenx !! |
charts/opensearch/README.md
Outdated
| | `serviceMonitor.path` | Path where metrics are exposed. Applicable only if `serviceMonitor.enabled` is set to `true`. | `/_prometheus/metrics` | | ||
| | `serviceMonitor.interval` | Interval at which metrics should be scraped by Prometheus. Applicable only if `serviceMonitor.enabled` is set to `true`. | `10s` | | ||
| | `serviceMonitor.basicAuth.enabled` | Wheter or not the serviceMonitor should use basic auth | `false` | | ||
| | `serviceMonitor.basicAuth.existingSecret` | When using basicAuth for the serviceMonitory, use an existing secret | `""` | |
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.
Is serviceMonitory typo?
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.
Hey @eyenx please take a look, we can get this merged.
Thanks
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.
Yes it's a typo :)
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.
@prudhvigodithi fixed.
|
Thanks @eyenx we can get this merged. |
Signed-off-by: Toni Tauro <[email protected]>
|
Will check if it is ready to merge tomorrow. |
|
Thanks @eyenx can you backport this to 1.x? |
|
Sure! |
…nsearch-project#594) * feat(chart/opensearch): add ability for serviceMonitor basicauth Signed-off-by: Toni Tauro <[email protected]> * fix(Chart.yaml): bump versionn Signed-off-by: Toni Tauro <[email protected]> * feat(basicAuth): change to existingSecret format Signed-off-by: Toni Tauro <[email protected]> * fix(README): just add my notes Signed-off-by: Toni Tauro <[email protected]> * fix(README): correct file Signed-off-by: Toni Tauro <[email protected]> * fix(Chart): bump version Signed-off-by: Toni Tauro <[email protected]> * fix(README): typo Signed-off-by: Toni Tauro <[email protected]> --------- Signed-off-by: Toni Tauro <[email protected]> Signed-off-by: ainthapanya-sqc <[email protected]>
Description
Right now there is non possibility to set a
basicAuthconfiguration for theserviceMonitor. This PR adds itCheck List
For any changes to files within Helm chart directories:
CHANGELOG.mdupdated to reflect changeBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.