Skip to content

Commit

Permalink
Add note about loading properties via spring.config.import and Bootstrap
Browse files Browse the repository at this point in the history
Fixes #1682
  • Loading branch information
ryanjbaxter committed Aug 29, 2024
1 parent e4982f8 commit 5c39844
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/modules/ROOT/pages/property-source-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,5 @@ If you would like to load Kubernetes ``PropertySource``s during the bootstrap ph
you can either add `spring-cloud-starter-bootstrap` to your application's classpath or set `spring.cloud.bootstrap.enabled=true`
as an environment variable.

NOTE: It is not supported to load properties during Bootstrap (using `spring-cloud-starter-bootstrap` or `spring.cloud.bootstrap.enabled=true` and load properties using `spring.config.import`. You must use one or the other method.

0 comments on commit 5c39844

Please sign in to comment.