forked from dCache/dcache
-
Notifications
You must be signed in to change notification settings - Fork 0
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