-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: add support for environment variable injection
Motivation: in container world it's common to use environment variables to pass the configuration parameters. Currently dCache doesn't support such injects, which makes container-based deployments more complicated. Modification: Update ConfigurationProperties to resolve environment variables when reading the property (layout, conf) files. The syntax is: dcache.net.wan.port.min=${env.DCACHE_WAN_PORT_MIN} dcache.net.wan.port.max=${env.DCACHE_WAN_PORT_MAX} Result: dcache properties can be controlled by env variables, if desired. Acked-by: Albert Rossi Target: master Require-book: yes Require-notes: yes
- Loading branch information
Showing
2 changed files
with
30 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8c65ee7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @kofemann,
Thank you for adding this feature!
I was looking if it's available in 8.2 or 9.2 but looks to me that it has not been merged yet, do you have any planned release for this?
Thanks!