blob: 6b3f57967a0dfb285674a2674f637aecf9af065f [file] [log] [blame]
#
#==================================================================================
# Copyright (c) 2019 AT&T Intellectual Property.
# Copyright (c) 2019 Nokia
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#==================================================================================
#
#
# Abstract: Configuration values for the routing manager
# Date: 29 May 2019
#
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ include "common.configmapname.rtmgr" . }}-rtmgrcfg
data:
# FQDN and port info of the platform components for routing manager to form
# and distribute corresponding routes to them
rtmgrcfg: |
{
"PlatformComponents":
[
{
"name": "E2TERM",
"fqdn": "{{ printf "%s.%s" (include "common.servicename.e2term.rmr" .) (include "common.namespace.platform" .) }}",
"port": {{ include "common.serviceport.e2term.rmr.data" . }}
},
{
"name": "SUBMAN",
"fqdn": "{{ printf "%s.%s" (include "common.servicename.submgr.rmr" .) (include "common.namespace.platform" .) }}",
"port": {{ include "common.serviceport.submgr.rmr.data" . }}
},
{
"name": "E2MAN",
"fqdn": "{{ printf "%s.%s" (include "common.servicename.e2mgr.rmr" .) (include "common.namespace.platform" .) }}",
"port": {{ include "common.serviceport.e2mgr.rmr.data" . }}
}
]
}