apiVersion: v1
kind: ConfigMap
metadata:
- name: {{ include "appmgr.fullname" . }}-appenv
+ name: {{ include "common.configmapname.appmgr" . }}-appenv
data:
- {{- with .Values.appmgr.appenv }}
- {{- toYaml . | nindent 2 }}
- {{- end }}
+ {{- $dbaasservicehost := include "common.servicename.dbaas" . | quote -}}
+ {{- (.Files.Get "resources/appenv.yaml") | replace "__DBAAS_SERVICE_HOST__" $dbaasservicehost | nindent 2 }}