Commit 18b75128 authored by Stephane Nicoll's avatar Stephane Nicoll

Merge pull request #23456 from thorasine

* pr/23456:
  Fix typo

Closes gh-23456
parents 4d10fbfd 9955dac3
...@@ -669,7 +669,7 @@ Set the value to `ignore` using `SpringApplication.setDefaultProperties(...)` or ...@@ -669,7 +669,7 @@ Set the value to `ignore` using `SpringApplication.setDefaultProperties(...)` or
[[boot-features-external-config-files-wildcards]] [[boot-features-external-config-files-wildcards]]
==== Wildcard Locations ==== Wildcard Locations
If a config file location includes the `{asterisk}` character for the last path segment, it is considered a wildcard location. If a config file location includes the `{asterisk}` character for the last path segment, it is considered a wildcard location.
Wildcards are expanded when the config is loaded so that immediate subdirectories are are also checked. Wildcards are expanded when the config is loaded so that immediate subdirectories are also checked.
Wildcard locations are particularly useful in an environment such as Kubernetes when there are multiple sources of config properties. Wildcard locations are particularly useful in an environment such as Kubernetes when there are multiple sources of config properties.
For example, if you have some Redis configuration and some MySQL configuration, you might want to keep those two pieces of configuration separate, while requiring that both those are present in an `application.properties` file. For example, if you have some Redis configuration and some MySQL configuration, you might want to keep those two pieces of configuration separate, while requiring that both those are present in an `application.properties` file.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment