How to set BusinessEvents Global Variables in a Kubernetes ConfigMap
book
Article ID: KB0072051
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
6.x
Description
In some cases, it may be required to set the values for BusinessEvents Global Variables using a Kubernetes ConfigMap. Refer to the *.yaml configuration shown below for a working example.
Resolution
This example assumes the BusinessEvents project has defined a Global Variable group named 'HTTP', and added a Global Variable under that group, named 'HTTP_PORT'.
The default value for 'HTTP/HTTP_PORT' (8108) may be overridden in your Kubernetes deployment *.yaml configuration as follows:
Here, we are specifying the Global Variable name in the containers --> env section using the _gv_ separator token, as discussed in the be-tools wiki. The value is set in a separate ConfigMap named 'my-configmap' using the key named 'http_port'.