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.

Comment From: jayati-naik

Hi Trisberg, I hope you are doing good. Will you please update when this enhancement is planned to be available to use ?

Thanks, Jayati

Comment From: onelapahead

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.