The issue
According to the Health Indicator document page,
You can disable the Health Indicator by setting
management.health.config.enabled=false.
In reality, the actual configuration property is spring.cloud.config.server.health.enabled=false. As per my testing, only this configuration property will skip the configServer health component, meaning that it will not call EnvironmentRepository#findOne.
Please help update the documentation accordingly, thanks.
Comment From: ryanjbaxter
Using management.health.config.enabled=false worked for me. Can you provide a sample?
Comment From: spring-cloud-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: spring-cloud-issues
Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.