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
I want to run postgres exporter as a kubernetes pod. PostgresSQL usernames & passwords are generated by vault and expire after a certain amount of time.
I was planning on using a sidecar to fetch credentials and inject them into the exporter container as environment variables. However I'd like to avoid restarting the pod to use the updated credentials.
Possible fix:
On db connection failure, the exporter could refresh credentials and retry if a change is detected.