Skip to content

Commit

Permalink
fix(configServer): add /opt/spinnaker/config/ as default (#3884)
Browse files Browse the repository at this point in the history
add `/opt/spinnaker/config/` to `spring.cloud.bootstrap.location` since it's the default configuration path for standard installs.
  • Loading branch information
ethanfrogers committed Jul 17, 2019
1 parent 3ca22dc commit 3acd86b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Main extends SpringBootServletInitializer {
private static final Map<String, String> BOOTSTRAP_SYSTEM_PROPS = [
'spring.application.name' : 'clouddriver',
// default locations must be included pending the resolution of https://github.com/spring-cloud/spring-cloud-commons/issues/466
'spring.cloud.bootstrap.location' : 'classpath:/,classpath:/config/,file:./,file:./config/,${user.home}/.spinnaker/',
'spring.cloud.bootstrap.location' : 'classpath:/,classpath:/config/,file:./,file:./config/,/opt/spinnaker/config/,${user.home}/.spinnaker/',
'spring.cloud.bootstrap.name' : 'spinnakerconfig,${spring.application.name}config',
'spring.cloud.config.server.bootstrap' : 'true'
]
Expand Down

0 comments on commit 3acd86b

Please sign in to comment.