Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
when using karaf in clouds & PaaS infrastructures like OpenShift, Docker, OpenStack et al; its common to use environment variables to pass in environment specific values; then keep a single disk image. It would be nice if there was an easy way to reference environment variables similar to the ${foo.bar} syntax for accessing system properties.
Maybe karaf should support some kind of environment variable expansion like
# define a property based on an env var
foo = ${ENV.nameOfEnvVar}
# e.g. here's the host name
host = ${ENV.HOSTNAME}
Attachments
Issue Links
- is related to
-
KARAF-3434 Support env:XXX subtitution for environment variables
- Resolved