E2T: Add service from Prometheus
[it/dep.git] / ric-common / Common-Template / helm / ric-common / templates / _e2term.tpl
index aad075a..5a43161 100644 (file)
   {{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
 {{- end -}}
 
+{{- define "common.servicename.e2term.prometheus" -}}
+  {{- $name := ( include "common.fullname.e2term" . ) -}}
+  {{- printf "service-%s-prometheus" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
 
 
 {{- define "common.serviceport.e2term.rmr.data" -}}38000{{- end -}}
 {{- define "common.serviceport.e2term.rmr.route" -}}4561{{- end -}}
 {{- define "common.serviceport.e2term.http" -}}8080{{- end -}}
 {{- define "common.serviceport.e2term.sctp" -}}36422{{- end -}}
+{{- define "common.serviceport.e2term.prometheus" -}}8088{{- end -}}
 
 
 {{- define "common.serviceaccountname.e2term" -}}