Skip to content

Support loading external configuration from files with no file extension #22280

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wilkinsona opened this issue Jul 9, 2020 · 1 comment
Closed
Assignees
Labels
theme: config-data Issues related to the configuration theme type: enhancement A general enhancement
Milestone

Comments

@wilkinsona
Copy link
Member

See microsoft/azure-spring-boot#926 and #22278 for background. Azure does not allow . characters in the name of a secret file so you have to jump through a renaming hoop to add the .properties or .yaml suffix.

@wilkinsona wilkinsona added theme: config-data Issues related to the configuration theme type: enhancement A general enhancement status: waiting-for-triage An issue we've not yet triaged for: team-attention An issue we'd like other members of the team to review labels Jul 9, 2020
@philwebb philwebb self-assigned this Jul 10, 2020
@philwebb philwebb added this to the 2.4.x milestone Jul 10, 2020
@philwebb philwebb added type: enhancement A general enhancement and removed for: team-attention An issue we'd like other members of the team to review status: waiting-for-triage An issue we've not yet triaged type: enhancement A general enhancement labels Jul 10, 2020
@philwebb
Copy link
Member

We'll look at supporting a new syntax for this. Something like spring.config.location=/etc/application[.properties] where the [.properties] isn't part of the filename, but just a hint for the content type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme: config-data Issues related to the configuration theme type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants