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
/
_configmapname.tpl
diff --git
a/ric-platform/50-RIC-Platform/helm/common/templates/_configmapname.tpl
b/ric-common/Common-Template/helm/ric-common/templates/_configmapname.tpl
similarity index 93%
rename from
ric-platform/50-RIC-Platform/helm/common/templates/_configmapname.tpl
rename to
ric-common/Common-Template/helm/ric-common/templates/_configmapname.tpl
index
671b620
..
8cb57d7
100644
(file)
--- a/
ric-platform/50-RIC-Platform/helm/common/templates/_configmapname.tpl
+++ b/
ric-common/Common-Template/helm/ric-common/templates/_configmapname.tpl
@@
-52,3
+52,7
@@
{{- end -}}
{{- end -}}
+{{- define "common.configmapname.nexus" -}}
+ {{- $name := ( include "common.fullname.nexus" . ) -}}
+ {{- printf "configmap-%s" $name | trunc 63 | trimSuffix "-" -}}
+{{- end -}}