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
New version of the common template. It unifies the naming convention between platform...
[it/dep.git]
/
ric-common
/
Common-Template
/
helm
/
ric-common
/
templates
/
_deploymentname.tpl
diff --git
a/ric-platform/50-RIC-Platform/helm/common/templates/_deploymentname.tpl
b/ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl
similarity index 93%
rename from
ric-platform/50-RIC-Platform/helm/common/templates/_deploymentname.tpl
rename to
ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl
index
2571a5c
..
4242ab8
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/common/templates/_deploymentname.tpl
+++ b/
ric-common/Common-Template/helm/ric-common/templates/_deploymentname.tpl
@@
-52,3
+52,7
@@
+{{- define "common.deploymentname.nexus" -}}
+ {{- $name := ( include "common.fullname.nexus" . ) -}}
+ {{- printf "deployment-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}