Code Review
/
it
/
dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix some bugs that produce wrong service name
[it/dev.git]
/
xapp_onboarder
/
xapp_onboarder
/
resources
/
xapp-std
/
templates
/
_helpers.tpl
diff --git
a/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/_helpers.tpl
b/xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/_helpers.tpl
index
d117edb
..
166d47a
100644
(file)
--- a/
xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/_helpers.tpl
+++ b/
xapp_onboarder/xapp_onboarder/resources/xapp-std/templates/_helpers.tpl
@@
-45,14
+45,9
@@
Create chart name and version as used by the chart label.
-{{- define "ricxapp.servicename
.rmr
" -}}
+{{- define "ricxapp.servicename" -}}
{{- $name := ( include "ricxapp.fullname" . ) -}}
{{- $name := ( include "ricxapp.fullname" . ) -}}
- {{- printf "service-%s-rmr" $name | trunc 63 | trimSuffix "-" -}}
-{{- end -}}
-
-{{- define "ricxapp.servicename.http" -}}
- {{- $name := ( include "ricxapp.fullname" . ) -}}
- {{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
+ {{- printf "service-%s" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- define "ricxapp.configmapname" -}}
{{- end -}}
{{- define "ricxapp.configmapname" -}}