mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 02:57:49 +00:00
TW-804: Introducing the HostName variables for opensync-gw
This variable will be overriden in the Helm chart to the IP Address of the opensync gw pod
This commit is contained in:
@@ -14,7 +14,6 @@ CLIENT_MQTT_SSL_PROPS+=" -Dconnectus.mqttBroker.password=admin"
|
||||
|
||||
OVSDB_MANAGER_HOST=${OVSDB_MANAGER}
|
||||
MQTT_BROKER_HOST="${MQTT_SERVER}"
|
||||
|
||||
BACKEND_SERVER="${BACKEND_SERVER}"
|
||||
|
||||
OVSDB_PROPS=" "
|
||||
@@ -41,6 +40,16 @@ SPRING_EXTRA_PROPS=" --add-opens java.base/java.lang=ALL-UNNAMED"
|
||||
HOST_PROPS=" "
|
||||
HOST_PROPS+=" -Dtip.wlan.introspectTokenApi.host=${OVSDB_MANAGER_HOST}:444"
|
||||
|
||||
## These properties are used by the Routing Service and the values will be
|
||||
## overridden in Helm chart to the IP-Address of running opensync-gw pod
|
||||
## If OVSDB_MANAGER_IP variable is not defined, these properties default
|
||||
## to the Hostname of the container
|
||||
if [[ -n ${OVSDB_MANAGER_IP} ]]
|
||||
then
|
||||
HOST_PROPS+=" -Dtip.wlan.externalHostName=${OVSDB_MANAGER_IP}"
|
||||
HOST_PROPS+=" -Dtip.wlan.internalHostName=${OVSDB_MANAGER_IP}"
|
||||
fi
|
||||
|
||||
if [[ -n $BACKEND_SERVER ]]
|
||||
then
|
||||
echo Use specifed local host
|
||||
|
||||
Reference in New Issue
Block a user