Deprecate config paths (#1336)

This commit is contained in:
erabii
2023-05-08 15:32:30 +03:00
committed by GitHub
parent 944c7d70e0
commit 977a8ccfac
3 changed files with 5 additions and 0 deletions

View File

@@ -581,6 +581,8 @@ Kubernetes service accounts, roles and role bindings.
Another option for using `ConfigMap` instances is to mount them into the Pod by running the Spring Cloud Kubernetes application
and having Spring Cloud Kubernetes read them from the file system.
NOTE: This feature is deprecated and will be removed in a future release (Use `spring.config.import` instead).
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.
`spring.cloud.kubernetes.config.paths` expects a List of full paths to each property file, because directories are not being recursively parsed. For example: