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
scottfrederick
changed the title
Add support for creating property sources from config maps
Add support for creating property sources from Kubernetes ConfigMaps
Jan 24, 2020
wilkinsona
changed the title
Add support for creating property sources from Kubernetes ConfigMaps
Add support for creating property sources from volume-mounted Kubernetes ConfigMaps
Jan 25, 2020
We discussed this a bit and it seems like adding a new property source isn't necessary. Here are some things we talked about:
If the config map results in an application.properties file and you mount it in a config/ directory next to the app, it’ll just work without us doing anything at all.
If it's mounted at a different location, that location can be changed by setting the SPRING_CONFIG_LOCATION environment variable.
If you have, let's say both redis configuration and some MySQL configuration, that could end up in config/mysql/application.properties and config/redis/application.properties. @dsyer had once suggested that the ConfigFileApplicationListener could support wildcards.
We've decided to go with the wildcard enhancement and documentation updates as part of this issue.
mbhave
changed the title
Add support for creating property sources from volume-mounted Kubernetes ConfigMaps
Add support for wildcard locations for properties and YAML files
Jan 30, 2020
No description provided.
The text was updated successfully, but these errors were encountered: