1 {{- $domain := default "cluster.local" .Values.ric.cluster.domain }}
2 {{- $ricpltNS := include "common.namespace.platform" . }}
3 {{- $xappNS := include "common.namespace.xapp" . }}
4 {{- $ricplt := printf "%s.svc.%s" $ricpltNS $domain }}
5 {{- $release := default "r1" .Values.ric.robot.release }}
8 Documentation store all properties that can change or are used in multiple places here
9 ... format is all caps with underscores between words and prepended with GLOBAL
10 ... make sure you prepend them with GLOBAL so that other files can easily see it is from this file.
14 &{GLOBAL_RICPLT_COMPONENTS} {{- range keys .Values.ric.platform.components }}
15 ... {{.}}={{include (printf "common.deploymentname.%s" .) $}}
17 &{GLOBAL_RICPLT_XAPPS} {{- range keys .Values.ric.xapp }}
18 ... {{.}}={{ printf "%s-%s" $xappNS . }}
21 ${GLOBAL_APPLICATION_ID} {{ default "r0" .Values.ric.robot.release | printf "nanobot-%s" }}
22 ${GLOBAL_BUILD_NUMBER} {{ default "0" .Values.ric.platform.build }}
23 ${GLOBAL_RICPLT_NAMESPACE} {{ $ricpltNS }}
25 ${GLOBAL_APPMGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.appmgr.protocol }}
26 ${GLOBAL_INJECTED_APPMGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.appmgr.http" .) $ricplt }}
27 ${GLOBAL_APPMGR_SERVER_PORT} {{ include "common.serviceport.appmgr.http" . }}
28 ${GLOBAL_INJECTED_APPMGR_USER} {{ .Values.ric.platform.components.appmgr.user }}
29 ${GLOBAL_INJECTED_APPMGR_PASSWORD} {{ .Values.ric.platform.components.appmgr.password }}
31 ${GLOBAL_E2MGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.e2mgr.protocol }}
32 ${GLOBAL_INJECTED_E2MGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.e2mgr.http" .) $ricplt }}
33 ${GLOBAL_E2MGR_SERVER_PORT} {{ include "common.serviceport.e2mgr.http" . }}
34 ${GLOBAL_INJECTED_E2MGR_USER} {{ .Values.ric.platform.components.e2mgr.user }}
35 ${GLOBAL_INJECTED_E2MGR_PASSWORD} {{ .Values.ric.platform.components.e2mgr.password }}
37 ${GLOBAL_RTMGR_SERVER_PROTOCOL} {{ default "http" .Values.ric.platform.components.rtmgr.protocol }}
38 ${GLOBAL_INJECTED_RTMGR_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.rtmgr.http" .) $ricplt }}
39 ${GLOBAL_RTMGR_SERVER_PORT} {{ include "common.serviceport.e2mgr.http" . }}
40 ${GLOBAL_INJECTED_RTMGR_USER} {{ .Values.ric.platform.components.rtmgr.user }}
41 ${GLOBAL_INJECTED_RTMGR_PASSWORD} {{ .Values.ric.platform.components.rtmgr.password }}
43 ${GLOBAL_INJECTED_DBAAS_IP_ADDR} {{ printf "%s.%s" (include "common.servicename.dbaas.tcp" .) $ricplt }}
44 ${GLOBAL_DBAAS_SERVER_PORT} {{ include "common.serviceport.dbaas.tcp" . }}
46 ${GLOBAL_TEST_XAPP} {{ default "xapp-std" .Values.ric.robot.environment.xapp }}
48 ${GLOBAL_TEST_NODEB_NAME} {{ default "AAAA456789" .Values.ric.robot.environment.gNodeB.name }}
49 ${GLOBAL_TEST_NODEB_ADDRESS} {{ default "10.0.0.3" .Values.ric.robot.environment.gNodeB.address }}
50 ${GLOBAL_TEST_NODEB_PORT} {{ default "36421" .Values.ric.robot.environment.gNodeB.port }}