Integrate appmgr with common template. Add ingress controller entries in the common...
[it/dep.git] / ric-platform / 50-RIC-Platform / helm / common / templates / _configmapname.tpl
index 2e13e06..671b620 100644 (file)
 
 
 {{- define "common.configmapname.appmgr" -}}
-  {{- $name := ( include "common.name.appmgr" . ) -}}
+  {{- $name := ( include "common.fullname.appmgr" . ) -}}
   {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
 {{- end -}}
 
 {{- define "common.configmapname.dbaas" -}}
-  {{- $name := ( include "common.name.dbaas" . ) -}}
+  {{- $name := ( include "common.fullname.dbaas" . ) -}}
   {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
+{{- end -}}:
 
 {{- define "common.configmapname.e2mgr" -}}
-  {{- $name := ( include "common.name.e2mgr" . ) -}}
+  {{- $name := ( include "common.fullname.e2mgr" . ) -}}
   {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
 {{- end -}}
 
 {{- define "common.configmapname.e2term" -}}
-  {{- $name := ( include "common.name.e2term" . ) -}}
+  {{- $name := ( include "common.fullname.e2term" . ) -}}
   {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
 {{- end -}}
 
 {{- define "common.configmapname.rtmgr" -}}
-  {{- $name := ( include "common.name.rtmgr" . ) -}}
+  {{- $name := ( include "common.fullname.rtmgr" . ) -}}
   {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
 {{- end -}}
 
-
+{{- define "common.configmapname.a1mediator" -}}
+  {{- $name := ( include "common.fullname.a1mediator" . ) -}}
+  {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}