summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common-templates/templates/_namespace.tpl
diff options
context:
space:
mode:
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 -}}