From f17ce3ba92ca4d8d05127d48105a22f79ed172d3 Mon Sep 17 00:00:00 2001 From: Lusheng Ji Date: Thu, 11 Jun 2020 10:31:16 -0400 Subject: [PATCH] Add VESPA alert port def Change-Id: If2e158f120d76c76ef57c3d07bb6f3ad606e975a Signed-off-by: Lusheng Ji --- ric-common/Common-Template/helm/ric-common/Chart.yaml | 2 +- ric-common/Common-Template/helm/ric-common/templates/_vespamgr.tpl | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ric-common/Common-Template/helm/ric-common/Chart.yaml b/ric-common/Common-Template/helm/ric-common/Chart.yaml index 2f714924..56ddffe9 100644 --- a/ric-common/Common-Template/helm/ric-common/Chart.yaml +++ b/ric-common/Common-Template/helm/ric-common/Chart.yaml @@ -18,4 +18,4 @@ apiVersion: v1 description: Common templates for inclusion in other charts name: ric-common -version: 3.3.1 +version: 3.3.2 diff --git a/ric-common/Common-Template/helm/ric-common/templates/_vespamgr.tpl b/ric-common/Common-Template/helm/ric-common/templates/_vespamgr.tpl index eeee3b68..a1c443dc 100644 --- a/ric-common/Common-Template/helm/ric-common/templates/_vespamgr.tpl +++ b/ric-common/Common-Template/helm/ric-common/templates/_vespamgr.tpl @@ -44,4 +44,10 @@ {{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}} {{- end -}} +{{- define "common.servicename.vespamgr.alert" -}} + {{- $name := ( include "common.fullname.vespamgr" . ) -}} + {{- printf "service-%s-alert" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + {{- define "common.serviceport.vespamgr.http" -}}8080{{- end -}} +{{- define "common.serviceport.vespamgr.alert" -}}9095{{- end -}} -- 2.16.6