Defining all port numbers in common template
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / e2term / templates / env.yaml
index 7637a41..b796de5 100644 (file)
@@ -20,10 +20,10 @@ metadata:
   name: {{ include "common.configmapname.e2term" . }}-env
 data:
   DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
-  DBAAS_SERVICE_PORT: "6379"
+  DBAAS_SERVICE_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }}
   DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
-  DBAAS_PORT_6379_TCP_PORT: "6379"
-  RMR_RTG_SVC: "{{ .Values.e2term.service.rmr.route.port }}"
-  sctp: "5577"
-  nano: "{{ .Values.e2term.service.rmr.data.port }}"
+  DBAAS_PORT_6379_TCP_PORT: {{ include "common.serviceport.dbaas.tcp" . | quote }} 
+  RMR_RTG_SVC: {{ include "common.serviceport.e2term.rmr.route" . | quote }}
+  sctp: {{ include "common.serviceport.e2term.sctp" . | quote }}
+  nano: {{ include "common.serviceport.e2term.rmr.data" . | quote }}
   print: "{{ .Values.e2term.env.print }}"