Fix paths documentation (#1330)
This commit is contained in:
@@ -583,9 +583,17 @@ Another option for using `ConfigMap` instances is to mount them into the Pod by
|
||||
and having Spring Cloud Kubernetes read them from the file system.
|
||||
This behavior is controlled by the `spring.cloud.kubernetes.config.paths` property. You can use it in
|
||||
addition to or instead of the mechanism described earlier.
|
||||
You can specify multiple (exact) file paths in `spring.cloud.kubernetes.config.paths` by using the `,` delimiter.
|
||||
`spring.cloud.kubernetes.config.paths` expects a List of full paths to each property file, because directories are not being recursively parsed. For example:
|
||||
|
||||
NOTE: You have to provide the full exact path to each property file, because directories are not being recursively parsed.
|
||||
```
|
||||
spring:
|
||||
cloud:
|
||||
kubernetes:
|
||||
config:
|
||||
paths:
|
||||
- /tmp/application.properties
|
||||
- /var/application.yaml
|
||||
```
|
||||
|
||||
NOTE: If you use `spring.cloud.kubernetes.config.paths` or `spring.cloud.kubernetes.secrets.path` the automatic reload
|
||||
functionality will not work. You will need to make a `POST` request to the `/actuator/refresh` endpoint or
|
||||
|
||||
Reference in New Issue
Block a user