Code Review
/
it
/
dep.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add NONRTRIC DME ACM Participant charts
[it/dep.git]
/
ric-common
/
Common-Template
/
helm
/
ric-common
/
templates
/
_e2term.tpl
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
6ed3195
..
5a43161
100644
(file)
--- 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. #
################################################################################
# limitations under the License. #
################################################################################
-# template for component name
{{- define "common.name.e2term" -}}
{{- 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" -}}
{{- end -}}
{{- define "common.fullname.e2term" -}}
@@
-63,21
+54,36
@@
{{- $name := ( include "common.fullname.e2term" . ) -}}
{{- printf "service-%s-rmr" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- $name := ( include "common.fullname.e2term" . ) -}}
{{- printf "service-%s-rmr" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+{{- define "common.servicename.e2term.sctp" -}}
+ {{- $name := ( include "common.fullname.e2term" . ) -}}
+ {{- printf "service-%s-sctp" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
{{- define "common.servicename.e2term.http" -}}
{{- $name := ( include "common.fullname.e2term" . ) -}}
{{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.e2term.http" -}}
{{- $name := ( include "common.fullname.e2term" . ) -}}
{{- 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.rmr.data" -}}38000{{- end -}}
{{- define "common.serviceport.e2term.rmr.route" -}}4561{{- end -}}
{{- define "common.serviceport.e2term.http" -}}8080{{- end -}}
-{{- define "common.serviceport.e2term.sctp" -}}5577{{- end -}}
+{{- define "common.serviceport.e2term.sctp" -}}36422{{- end -}}
+{{- define "common.serviceport.e2term.prometheus" -}}8088{{- end -}}
{{- define "common.serviceaccountname.e2term" -}}
{{- $name := ( include "common.fullname.e2term" . ) -}}
{{- printf "svcacct-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.serviceaccountname.e2term" -}}
{{- $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 -}}