Skip to content

Commit 0e1cbc0

Browse files
committed
fix-1715 : add documentation note
Signed-off-by: wind57 <[email protected]>
1 parent 2cbea3f commit 0e1cbc0

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docs/modules/ROOT/pages/property-source-config/configmap-propertysource.adoc

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,9 +520,10 @@ spring:
520520
----
521521

522522
Besides reading the `config-map-one`, Spring will also try to read `config-map-one-dev`; in this particular order. Each active profile
523-
generates such a profile aware config map.
523+
generates such a profile aware configmap.
524524

525-
Though your application should not be impacted by such a config map, it can be disabled if needed:
525+
You can disable this "profile based sources" and then `config-map-one-dev` will
526+
not be attempted:
526527

527528
[source,yaml]
528529
----
@@ -539,6 +540,9 @@ spring:
539540
includeProfileSpecificSources: false
540541
----
541542

543+
NOTE: Since version `5.0.0-M1`, `includeProfileSpecificSources` is only supported for named sources (`spring.cloud.kubernetes.sources.name=XXX`); support for labeled sources has been removed.
544+
545+
542546
Notice that just like before, there are two levels where you can specify this property: for all config maps or
543547
for individual ones; the latter having a higher priority.
544548

0 commit comments

Comments
 (0)