Uploaded image for project: 'Thorntail'
  1. Thorntail
  2. THORN-1926

Issues with Support of Environment variables in containerized deployments

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2018.5.0
    • Component/s: config-api
    • Labels:
      None
    • Story Points:
      10

      Description

      There are multiple issues with the support of Environment variables as a configuration with Wildfly-Swarm applications
      1) In Linux based containers dot (.) is not supported in an environment variable name.
      2) In Linux based containers dash is not supported in an environment variable name. In fact, I see only [a-zA-Z0-9_] as supported.
      3) Typically ENV variables are defined in ALL CAPS letters, these should be mapped to their lowercase counterparts.

      For example, see Spring Boot's RelaxedBinding of configuration: https://github.com/spring-projects/spring-boot/wiki/Relaxed-Binding-2.0

      I understand there is a way to map these with JAVA_OPTIONS through current examples, however, I found that, while working with Teiid, it is cumbersome/time-consuming to depend solely on defining JAVA_OPTIONS to define all the properties. For example, in Teiid we have to configure many data sources that are provisioned through a Service Catalog and it's binding in OpenShift environment. Having a better environment variable support will alleviate these issues. Note that these issues are not isolated to just Teiid but apply in general for any application.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rareddy Ramesh Reddy
                Reporter:
                rareddy Ramesh Reddy
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: