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
Integrate appmgr with common template. Add ingress controller entries in the common...
[it/dep.git]
/
ric-platform
/
50-RIC-Platform
/
helm
/
common
/
templates
/
_servicename.tpl
diff --git
a/ric-platform/50-RIC-Platform/helm/common/templates/_servicename.tpl
b/ric-platform/50-RIC-Platform/helm/common/templates/_servicename.tpl
index
f6ed74f
..
20e381a
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/common/templates/_servicename.tpl
+++ b/
ric-platform/50-RIC-Platform/helm/common/templates/_servicename.tpl
@@
-29,30
+29,34
@@
{{- define "common.servicename.appmgr" -}}
{{- define "common.servicename.appmgr" -}}
- {{- $name := ( include "common.name.appmgr" . ) -}}
+ {{- $name := ( include "common.
full
name.appmgr" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.dbaas" -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.dbaas" -}}
- {{- $name := ( include "common.name.dbaas" . ) -}}
+ {{- $name := ( include "common.
full
name.dbaas" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.e2mgr" -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.e2mgr" -}}
- {{- $name := ( include "common.name.e2mgr" . ) -}}
+ {{- $name := ( include "common.
full
name.e2mgr" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.e2term" -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.e2term" -}}
- {{- $name := ( include "common.name.e2term" . ) -}}
+ {{- $name := ( include "common.
full
name.e2term" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.rtmgr" -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "common.servicename.rtmgr" -}}
- {{- $name := ( include "common.name.rtmgr" . ) -}}
+ {{- $name := ( include "common.
full
name.rtmgr" . ) -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+{{- define "common.servicename.a1mediator" -}}
+ {{- $name := ( include "common.fullname.a1mediator" . ) -}}
+ {{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}