X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_name.tpl;h=6402565e99c44a1823c5cdbc67df9f17011b2353;hb=01adf4c86818ed16f46d8c0f9e9c691792bb233a;hp=bbfce4fceed71c69fbaaa7cacc006057d32e25a6;hpb=bb6097c9e2fa2918028892b2c5e675841029bee9;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/ric-common/templates/_name.tpl b/ric-common/Common-Template/helm/ric-common/templates/_name.tpl index bbfce4fc..6402565e 100644 --- a/ric-common/Common-Template/helm/ric-common/templates/_name.tpl +++ b/ric-common/Common-Template/helm/ric-common/templates/_name.tpl @@ -182,6 +182,27 @@ {{- end -}} +{{- define "common.name.vespamgr" -}} + {{- if .Values.vespamgr -}} + {{- if .Values.vespamgr.nameOverride -}} + {{- printf "%s" .Values.vespamgr.nameOverride -}} + {{- else -}} + {{- printf "vespamgr" -}} + {{- end -}} + {{- else -}} + {{- printf "vespamgr" -}} + {{- end -}} +{{- end -}} + + +{{- define "common.fullname.vespamgr" -}} + {{- $name := ( include "common.name.vespamgr" . ) -}} + {{- $namespace := ( include "common.namespace.platform" . ) -}} + {{- printf "%s-%s" $namespace $name | trunc 63 | trimSuffix "-" -}} +{{- end -}} + + + {{- define "common.name.nexus" -}} {{- if .Values.nexus -}}