Create RMR route listening services. Further integrating charts with common template.
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / appmgr / templates / env.yaml
 apiVersion: v1
 kind: ConfigMap
 metadata:
-  name: {{ include "common.configmapname.appmgr" . }}-appenv
+  name: {{ include "common.configmapname.appmgr" . }}-env
 data:
-  {{- $dbaasservicehost := include "common.servicename.dbaas.tcp" . | quote -}}
-  {{- (.Files.Get "resources/appenv.yaml") | replace "__DBAAS_SERVICE_HOST__" $dbaasservicehost | nindent 2 }}
+  NAME: "xappmgr"
+  DBAAS_SERVICE_HOST: {{ include "common.servicename.dbaas.tcp" . | quote }}
+  DBAAS_SERVICE_PORT: "6379"
+  DBAAS_PORT_6379_TCP_ADDR: {{ include "common.servicename.dbaas.tcp" . | quote }}
+  DBAAS_PORT_6379_TCP_PORT: "6379"
+  RMR_RTG_SVC: "{{ .Values.appmgr.service.rmr.route.port }}"