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