E2T: Add service from Prometheus 50/4350/1
authorFuss, Areli (af732p) <areli.fuss@intl.att.com>
Wed, 8 Jul 2020 14:33:49 +0000 (17:33 +0300)
committerFuss, Areli (af732p) <areli.fuss@intl.att.com>
Wed, 8 Jul 2020 14:33:49 +0000 (17:33 +0300)
Add new service port for Prometheus connection

Issue-ID: RIC-576
Signed-off-by: Fuss, Areli (af732p) <areli.fuss@intl.att.com>
Change-Id: I805062e952f6ed694d6b4d13ea9db9eafebce4cc

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" -}}