summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common-templates/templates/_namespace.tpl
diff options
context:
space:
mode:
authorMandeep Khinda <Mandeep.Khinda@amdocs.com>2018-03-07 20:35:02 +0000
committerGerrit Code Review <gerrit@onap.org>2018-03-07 20:35:02 +0000
commit6894e5818acd524b2307661c3890b717deabda7f (patch)
treea90a042d0b7b2203e328e90fc4737bb55d9a2997 /kubernetes/common/common-templates/templates/_namespace.tpl
parent8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff)
parent0e93fb5bfce4fcd462f5db0d9c6d1f29f2e742a6 (diff)
Merge "make so chart one namespace compatible"
Diffstat (limited to 'kubernetes/common/common-templates/templates/_namespace.tpl')
-rw-r--r--kubernetes/common/common-templates/templates/_namespace.tpl4
1 files changed, 1 insertions, 3 deletions
diff --git a/kubernetes/common/common-templates/templates/_namespace.tpl b/kubernetes/common/common-templates/templates/_namespace.tpl
index 076fd53f7a..2964a0f207 100644
--- a/kubernetes/common/common-templates/templates/_namespace.tpl
+++ b/kubernetes/common/common-templates/templates/_namespace.tpl
@@ -7,7 +7,5 @@
- .Values.nsSuffix : override namespace suffix
*/}}
{{- define "common.namespace" -}}
- {{- $prefix := default .Release.Name .Values.nsPrefix -}}
- {{- $suffix := default .Chart.Name .Values.nsSuffix -}}
- {{- printf "%s-%s" $prefix $suffix -}}
+ {{- default .Release.Name .Values.nsPrefix -}}
{{- end -}}