diff options
author | Mandeep Khinda <Mandeep.Khinda@amdocs.com> | 2018-03-07 20:35:02 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-03-07 20:35:02 +0000 |
commit | 6894e5818acd524b2307661c3890b717deabda7f (patch) | |
tree | a90a042d0b7b2203e328e90fc4737bb55d9a2997 /kubernetes/common/common-templates/templates/_namespace.tpl | |
parent | 8c4e3d3f261ff6f4f32ae84cfc519f4b55172aee (diff) | |
parent | 0e93fb5bfce4fcd462f5db0d9c6d1f29f2e742a6 (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.tpl | 4 |
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 -}} |