Skip to content

Commit 29a6288

Browse files
committed
Bumping versions
1 parent 977a8cc commit 29a6288

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

README.adoc

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -875,11 +875,21 @@ Kubernetes service accounts, roles and role bindings.
875875

876876
Another option for using `ConfigMap` instances is to mount them into the Pod by running the Spring Cloud Kubernetes application
877877
and having Spring Cloud Kubernetes read them from the file system.
878+
879+
NOTE: This feature is deprecated and will be removed in a future release (Use `spring.config.import` instead).
878880
This behavior is controlled by the `spring.cloud.kubernetes.config.paths` property. You can use it in
879881
addition to or instead of the mechanism described earlier.
880-
You can specify multiple (exact) file paths in `spring.cloud.kubernetes.config.paths` by using the `,` delimiter.
882+
`spring.cloud.kubernetes.config.paths` expects a List of full paths to each property file, because directories are not being recursively parsed. For example:
881883

882-
NOTE: You have to provide the full exact path to each property file, because directories are not being recursively parsed.
884+
```
885+
spring:
886+
cloud:
887+
kubernetes:
888+
config:
889+
paths:
890+
- /tmp/application.properties
891+
- /var/application.yaml
892+
```
883893

884894
NOTE: If you use `spring.cloud.kubernetes.config.paths` or `spring.cloud.kubernetes.secrets.path` the automatic reload
885895
functionality will not work. You will need to make a `POST` request to the `/actuator/refresh` endpoint or

0 commit comments

Comments
 (0)