-&{GLOBAL_RICPLT_COMPONENTS} {{- range keys .Values.ric.platform.components }}
-... {{.}}={{include (printf "common.deploymentname.%s" .) $}}
+#{{ printf "%s.%s" (include "common.servicename.a1mediator.http" .) $ricplt }}
+# {{ printf "%s-alpha.%s" (include "common.servicename.e2term.rmr" .) $ricplt}}
+&{GLOBAL_RICPLT_COMPONENTS} {{- range $k, $v := .Values.ric.platform.components }}
+ {{- if $v }}
+ {{- $ct := index $v "controller" }}
+ {{- if $ct }}
+ {{- $dt = index $ct "type" | default "deployment" | lower }}
+ {{- $ds = index $ct "suffix" | default "" }}
+ {{- if $ds }}
+ {{- $ds = (printf "-%s" $ds) }}
+ {{- end }}
+ {{- else }}
+ {{- $dt = "deployment" }}
+ {{- $ds = "" }}
+ {{- end }}
+ {{- end }}
+... {{$k}}={{$dt}}|{{include (printf "common.%sname.%s" $dt $k) $}}{{$ds}}