summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>2020-10-15 06:42:03 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-15 06:42:03 +0000
commit9e8c6de3d71df6f7ed4338d935e9e1dcfe7ac06a (patch)
tree89f4d545d9ff44ad35900c9031ff7ac5a8493cfc
parent207111a3269a3eeec1d18fa6e10e7b3045a1c55f (diff)
parent01603a00f51efbb6c1f20f72f656429f0ec3fca2 (diff)
Merge "[COMMON] Use lowercase in common.fullname during linting in helm3"
-rw-r--r--kubernetes/common/common/templates/_name.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/kubernetes/common/common/templates/_name.tpl b/kubernetes/common/common/templates/_name.tpl
index adbe2b6cf9..793fb3e07b 100644
--- a/kubernetes/common/common/templates/_name.tpl
+++ b/kubernetes/common/common/templates/_name.tpl
@@ -53,7 +53,7 @@
{{- $name := default $dot.Chart.Name $dot.Values.nameOverride -}}
{{/* when linted, the name must be lower cased. When used from a component,
name should be overriden in order to avoid collision so no need to do it */}}
- {{- if eq (printf "common/%s/templates" $name) $dot.Template.BasePath -}}
+ {{- if eq (printf "%s/templates" $name) $dot.Template.BasePath -}}
{{- $name = lower $name -}}
{{- end -}}
{{- include "common.fullnameExplicit" (dict "dot" $dot "chartName" $name "suffix" $suffix) }}