Integrate appmgr with common template. Add ingress controller entries in the common...
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / appmgr / templates / appenv.yaml
index 5f6c8e7..c038264 100644 (file)
@@ -18,7 +18,7 @@
 apiVersion: v1
 kind: ConfigMap
 metadata:
-  name: {{ include "appmgr.fullname" . }}-appenv
+  name: {{ include "common.configmapname.appmgr" . }}-appenv
 data:
-  {{- (.Files.Get "resources/appenv.yaml") | nindent 2 }}
-  
+  {{- $dbaasservicehost := include "common.servicename.dbaas" . | quote -}}
+  {{- (.Files.Get "resources/appenv.yaml") | replace "__DBAAS_SERVICE_HOST__" $dbaasservicehost | nindent 2 }}