apache / solr-operator

Official Kubernetes operator for Apache Solr
https://solr.apache.org/operator
Apache License 2.0
243 stars 112 forks source link

Replace exporter CLI args with env vars where possible #638

Closed gerlowskija closed 9 months ago

gerlowskija commented 9 months ago

In recent versions of Solr (>=8.8) the prometheus exporter has an env-var equivalent for each CLI argument taken in by its start script.

Env vars can be easier to read and parse than a long string of CLI options - let's switch the operator over to using env-vars to pass certain prometheusexporter.Spec values, instead of building an array/string of arguments.

(This is a part of #616)