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 R3 into master
[it/dep.git]
/
ric-common
/
Common-Template
/
helm
/
ric-common
/
templates
/
_esreader.tpl
diff --git
a/ric-common/Common-Template/helm/ric-common/templates/_esreader.tpl
b/ric-common/Common-Template/helm/ric-common/templates/_esreader.tpl
index
17c0bea
..
d895ddc
100644
(file)
--- a/
ric-common/Common-Template/helm/ric-common/templates/_esreader.tpl
+++ b/
ric-common/Common-Template/helm/ric-common/templates/_esreader.tpl
@@
-14,19
+14,12
@@
# limitations under the License. #
################################################################################
# limitations under the License. #
################################################################################
-# template for component name
+
{{- define "common.name.esreader" -}}
{{- define "common.name.esreader" -}}
- {{- if .Values.esreader -}}
- {{- if .Values.esreader.nameOverride -}}
- {{- printf "%s" .Values.esreader.nameOverride -}}
- {{- else -}}
- {{- printf "esreader" -}}
- {{- end -}}
- {{- else -}}
- {{- printf "esreader" -}}
- {{- end -}}
+ {{- printf "esreader" -}}
{{- end -}}
{{- end -}}
+
{{- define "common.fullname.esreader" -}}
{{- $name := ( include "common.name.esreader" . ) -}}
{{- $namespace := ( include "common.namespace.infra" . ) -}}
{{- define "common.fullname.esreader" -}}
{{- $name := ( include "common.name.esreader" . ) -}}
{{- $namespace := ( include "common.namespace.infra" . ) -}}