From 5c39844f3a5c80165afa1de17491960c0ce5463b Mon Sep 17 00:00:00 2001 From: Ryan Baxter <524254+ryanjbaxter@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:42:25 -0700 Subject: [PATCH] Add note about loading properties via spring.config.import and Bootstrap Fixes #1682 --- docs/modules/ROOT/pages/property-source-config.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/modules/ROOT/pages/property-source-config.adoc b/docs/modules/ROOT/pages/property-source-config.adoc index bd35b685f..c29050fae 100644 --- a/docs/modules/ROOT/pages/property-source-config.adoc +++ b/docs/modules/ROOT/pages/property-source-config.adoc @@ -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. +