You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently in the PrometheusExporter spec, you must specify a basicAuthSecret if you have BasicAuth enabled on a solrCloud.
The operator should be able to detect if the SolrCloud is setup to use BasicAuth, and figure out the secret it is using if the use does not provide an explicit basicAuthSecret. This should work very similarly to how the zkConnection info and solrImage are also taken from the SolrCloud reference, if none are provided.
I've fiddled with this enough to think that I understand the use-case. It sounds like we have two paths:
The user bootstapped basic auth. In this case, we need to point the exporter to the default auth secret (-solrcloud-basic-auth).
The user provided their own security.json and auth secret. In which case that secret will be in the SoldCloud object definition, so we should simply get it from there and re-use it in the exporter.
Currently in the PrometheusExporter spec, you must specify a
basicAuthSecret
if you have BasicAuth enabled on a solrCloud.The operator should be able to detect if the SolrCloud is setup to use BasicAuth, and figure out the secret it is using if the use does not provide an explicit
basicAuthSecret
. This should work very similarly to how the zkConnection info and solrImage are also taken from theSolrCloud
reference, if none are provided.Docs:
https://apache.github.io/solr-operator/docs/solr-prometheus-exporter/#prometheus-exporter-with-basic-auth
The text was updated successfully, but these errors were encountered: