-
Notifications
You must be signed in to change notification settings - Fork 811
Open
Description
Hi,
We are deploying the exporter using the community helm chart and are passing in ES credentials as env. variables (ES_USERNAME and ES_PASSWORD), with values picked up from a Secret.
This makes credentials rotation quite cumbersome, since elasticsearch-exporter deployment needs to be restarted when credentials have been changed and the referenced Secret changes.
Would it be possible to add support for loading credentials from a file (like ES does with file authentication realm), with automatic reload on change? This would allow mounting the credentials Secret as a file, and updating the secret would update the mounted file. This would vastly simplify automating credentials rotation (using external-secrets controller, for example).