X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_e2term.tpl;fp=ric-common%2FCommon-Template%2Fhelm%2Fric-common%2Ftemplates%2F_e2term.tpl;h=f83862e8918752e20146740966a2500935d4a921;hb=dc00cdf008775e2ac5dddb186d1eb81e80370b69;hp=6ed3195387b58683b946973b67f1cd2c4247addb;hpb=ca9b3ee64b3966fa1d20226b361b4f614434129e;p=it%2Fdep.git diff --git a/ric-common/Common-Template/helm/ric-common/templates/_e2term.tpl b/ric-common/Common-Template/helm/ric-common/templates/_e2term.tpl index 6ed31953..f83862e8 100644 --- a/ric-common/Common-Template/helm/ric-common/templates/_e2term.tpl +++ b/ric-common/Common-Template/helm/ric-common/templates/_e2term.tpl @@ -14,17 +14,8 @@ # limitations under the License. # ################################################################################ -# template for component name {{- define "common.name.e2term" -}} - {{- if .Values.e2term -}} - {{- if .Values.e2term.nameOverride -}} - {{- printf "%s" .Values.e2term.nameOverride -}} - {{- else -}} - {{- printf "e2term" -}} - {{- end -}} - {{- else -}} - {{- printf "e2term" -}} - {{- end -}} + {{- printf "e2term" -}} {{- end -}} {{- define "common.fullname.e2term" -}} @@ -81,3 +72,9 @@ {{- $name := ( include "common.fullname.e2term" . ) -}} {{- printf "svcacct-%s" $name | trunc 63 | trimSuffix "-" -}} {{- end -}} + + +{{- define "common.ingressname.e2term" -}} + {{- $name := ( include "common.fullname.e2term" . ) -}} + {{- printf "ingress-%s" $name | trunc 63 | trimSuffix "-" -}} +{{- end -}}