diff --git a/docs/src/main/asciidoc/property-source-config.adoc b/docs/src/main/asciidoc/property-source-config.adoc index fe7e513f..c10d2942 100644 --- a/docs/src/main/asciidoc/property-source-config.adoc +++ b/docs/src/main/asciidoc/property-source-config.adoc @@ -5,7 +5,7 @@ an `application-profile.properties` or `application-profile.yaml` file that cont application or Spring Boot starters. You can override these properties by specifying system properties or environment variables. -To enable this functionality you need to set `spring.config.import=kubernetes:` in your application's configuration properties. +To enable this functionality you need to set the `spring.config.import` application configuration property to `kubernetes:` (escape with quotes when using yaml eg. `"kubernetes:"`). Currently you can not specify a ConfigMap or Secret to load using `spring.config.import`, by default Spring Cloud Kubernetes will load a ConfigMap and/or Secret based on the `spring.application.name` property. If `spring.application.name` is not set it will load a ConfigMap and/or Secret with the name `application`.