You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.adoc
+12-2Lines changed: 12 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -875,11 +875,21 @@ Kubernetes service accounts, roles and role bindings.
875
875
876
876
Another option for using `ConfigMap` instances is to mount them into the Pod by running the Spring Cloud Kubernetes application
877
877
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).
878
880
This behavior is controlled by the `spring.cloud.kubernetes.config.paths` property. You can use it in
879
881
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:
881
883
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
+
```
883
893
884
894
NOTE: If you use `spring.cloud.kubernetes.config.paths` or `spring.cloud.kubernetes.secrets.path` the automatic reload
885
895
functionality will not work. You will need to make a `POST` request to the `/actuator/refresh` endpoint or
0 commit comments