-
Notifications
You must be signed in to change notification settings - Fork 238
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
base: main
Are you sure you want to change the base?
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? |
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 !! |
@@ -128,6 +128,10 @@ helm uninstall my-release | |||
| `serviceMonitor.enabled` | Enables the creation of a [ServiceMonitor] resource for Prometheus monitoring. Requires the Prometheus Operator to be installed in your Kubernetes cluster. | `false` | | |||
| `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
Thanks @eyenx we can get this merged. |
Description
Right now there is non possibility to set a
basicAuth
configuration for theserviceMonitor
. This PR adds itCheck List
For any changes to files within Helm chart directories:
CHANGELOG.md
updated 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.