|
|
@ -472,11 +472,11 @@ For example, the following file has two logical documents:
|
|
|
|
----
|
|
|
|
----
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
application:
|
|
|
|
name: "MyApp"
|
|
|
|
name: MyApp
|
|
|
|
---
|
|
|
|
---
|
|
|
|
spring:
|
|
|
|
spring:
|
|
|
|
application:
|
|
|
|
application:
|
|
|
|
name: "MyCloudApp"
|
|
|
|
name: MyCloudApp
|
|
|
|
config:
|
|
|
|
config:
|
|
|
|
activate:
|
|
|
|
activate:
|
|
|
|
on-cloud-platform: kubernetes
|
|
|
|
on-cloud-platform: kubernetes
|
|
|
@ -488,8 +488,8 @@ For `application.properties` files a special `#---` comment is used to mark the
|
|
|
|
----
|
|
|
|
----
|
|
|
|
spring.application.name=MyApp
|
|
|
|
spring.application.name=MyApp
|
|
|
|
#---
|
|
|
|
#---
|
|
|
|
spring.config.activate.on-cloud-platform=kubernetes
|
|
|
|
|
|
|
|
spring.application.name=MyCloudApp
|
|
|
|
spring.application.name=MyCloudApp
|
|
|
|
|
|
|
|
spring.config.activate.on-cloud-platform=kubernetes
|
|
|
|
----
|
|
|
|
----
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: Property file separators must not have any leading whitespace and must have exactly three hyphen characters.
|
|
|
|
NOTE: Property file separators must not have any leading whitespace and must have exactly three hyphen characters.
|
|
|
|