Kubernetes, Spring Boot, Vault, Postgres, Docker.
In the scheduled task, the file is read and compared to the current username and password. If there is a change, the current username and password is replaced with the revised values. The data source is then given the new credentials to use and the connection pool is rotated using the soft eviction