title: ConfigServerHealthIndicator is not checking the right profile
body: <p>We are investigating why our spring config server is always returning is health status "DOWN", even if it's actually working.</p>
  
  <p>After debugging in the spring framework, we found the ConfigServerHealthIndicator class, is always reading the "default" profile.</p>
  
  <p>This is the issue for us as the default profile is not working in our production environment and we would expect the config server to read the appropriate repository.</p>
  
  <p>From what we can see on the code, setRepositories is not call at all.</p>
  
  <p>Is there any configuration we missed to make the ConfigServerHealthIndicator read the appropriate repository?
  Overriding the bean maybe? </p>
  
  <p>Thanks!</p>