[jboss-jira] [JBoss JIRA] (WFLY-9452) An easy way to configure EAP from an OpenShift ConfigMap
Brian Stansberry (Jira)
issues at jboss.org
Thu Jan 24 22:07:00 EST 2019
[ https://issues.jboss.org/browse/WFLY-9452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13687390#comment-13687390 ]
Brian Stansberry commented on WFLY-9452:
----------------------------------------
Any configuration attribute that allows an expression as its value can be set to use an environment variable as the resolution source. Just prefix the env var name with 'env.'
{code}
<connection-url>${env.DATASOURCE_CONN_URL}</connection-url>
{code}
You can populate env vars from a config map:
https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/#define-container-environment-variables-using-configmap-data
> An easy way to configure EAP from an OpenShift ConfigMap
> --------------------------------------------------------
>
> Key: WFLY-9452
> URL: https://issues.jboss.org/browse/WFLY-9452
> Project: WildFly
> Issue Type: Feature Request
> Environment: OpenShift
> Reporter: Jeremy Davis
> Assignee: Jason Greene
> Priority: Major
>
> It would be good to have a simple way of pulling configuration from an OpenShift ConfigMap so for example values for database drivers could be controlled from OpenShift. This would enable a better dev/test/qa/workflow
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list