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
Merge "Using common template to provide endpoints to dashboard"
[it/dep.git]
/
ric-common
/
Common-Template
/
helm
/
ric-common
/
templates
/
_servicename.tpl
diff --git
a/ric-common/Common-Template/helm/ric-common/templates/_servicename.tpl
b/ric-common/Common-Template/helm/ric-common/templates/_servicename.tpl
index
81d2026
..
8af2a97
100644
(file)
--- a/
ric-common/Common-Template/helm/ric-common/templates/_servicename.tpl
+++ b/
ric-common/Common-Template/helm/ric-common/templates/_servicename.tpl
@@
-98,6
+98,11
@@
{{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
+{{- define "common.servicename.chartmuseum.http" -}}
+ {{- $name := ( include "common.fullname.chartmuseum" . ) -}}
+ {{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}
+
{{- define "common.servicename.dashboard.http" -}}
{{- $name := ( include "common.fullname.dashboard" . ) -}}
{{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}
{{- define "common.servicename.dashboard.http" -}}
{{- $name := ( include "common.fullname.dashboard" . ) -}}
{{- printf "service-%s-http" $name | trunc 63 | trimSuffix "-" -}}