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'd like to be able to watch config files for changes and use a ContextRefresher to reload any config components marked with @RefreshScope. This would make it possible to have the application get updated with new values from configMaps or secrets mounted as files when using Kubernetes. We would need to provide a directory like /config that should be watched for file changes to any files in that directory. When change is detected the refresh() method on a ContextRefresher could be called.
The text was updated successfully, but these errors were encountered:
Any updates on this one? Golang has had this in Viper for some time, it kinda surprises me Spring Boot/Cloud can't reload properties from a file when it changes.
I'd like to be able to watch config files for changes and use a
ContextRefresher
to reload any config components marked with@RefreshScope
. This would make it possible to have the application get updated with new values from configMaps or secrets mounted as files when using Kubernetes. We would need to provide a directory like/config
that should be watched for file changes to any files in that directory. When change is detected therefresh()
method on aContextRefresher
could be called.The text was updated successfully, but these errors were encountered: