Closed gberche-orange closed 8 years ago
Hi @gberche-orange ,
Will this be the default way to get config ?
Cheers
@s-bortolussi We're likely to need to still support flat environment variables as the default mechanism, primarily because it has no dependency on the availability of a reacheable secured remote git repo to hold credentials.
Missing documentation on how to enable remote git config. Need an intro description that points to https://github.com/Orange-OpenSource/static-creds-broker/blob/master/manifest.tmpl.remote-config.yml
readme updated
When changes are made to the configuration, the service broker needs to be re-pushed. Versionning need to be performed by service owners (e.g. versionning the cloudfoundry manifest.yml file).
This builds ontop of #9
Externalizing the configuration in remote config server might be an attractive alternative which enables to manage properties with more flexibility:
http://cloud.spring.io/spring-cloud-static/spring-cloud.html#_spring_cloud_config_server
Initially, a git repo backend would be adopted (possibly over https, and using encryption).
In a second step, other backends could be considered such as hashicorp vault
The deployment process would then become:
If an update to the git configuration is made, a hot refresh may be performed through the refresh http endpoint
In terms of implementation, as a 1st step the config server would be embedded within the static broker app: