X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_deploymentname.tpl;h=e946ed34db4ac937921bed6b4c9b3dd9abaed04e;hb=01adf4c86818ed16f46d8c0f9e9c691792bb233a;hp=185bfc1b8f27da3e1fe819d9ab67f094caa4b75b;hpb=0309475769b27702c8c886411222882da8b519b1;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl b/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl index 185bfc1b..e946ed34 100644 --- a/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl +++ b/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl @@ -45,16 +45,31 @@ {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} {{- end -}} +{{- define "common.deploymentname.submgr" -}} + {{- $name := ( include "common.fullname.submgr" . ) -}} + {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + {{- define "common.deploymentname.a1mediator" -}} {{- $name := ( include "common.fullname.a1mediator" . ) -}} {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} {{- end -}} +{{- define "common.deploymentname.vespamgr" -}} + {{- $name := ( include "common.fullname.vespamgr" . ) -}} + {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + {{- define "common.deploymentname.nexus" -}} {{- $name := ( include "common.fullname.nexus" . ) -}} {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} {{- end -}} +{{- define "common.deploymentname.chartmuseum" -}} + {{- $name := ( include "common.fullname.chartmuseum" . ) -}} + {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + {{- define "common.deploymentname.dashboard" -}} {{- $name := ( include "common.fullname.dashboard" . ) -}} {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}}