blob: 3da9fee7c1c1b0b7fcfe8559aa56f2f4006f25d4 [file] [log] [blame]
Mike Elliott3e7dc642018-02-12 15:33:55 -05001{{/*
2 Resolve the namespace to apply to a chart. The default namespace suffix
3 is the name of the chart. This can be overridden if necessary (eg. for subcharts)
4 using the following value:
5
6 - .Values.nsPrefix : override namespace prefix
Mike Elliott3e7dc642018-02-12 15:33:55 -05007*/}}
8{{- define "common.namespace" -}}
Mandeep Khindaa57d8dd2018-03-09 14:29:37 +00009 {{- default .Release.Namespace .Values.nsPrefix -}}
Mike Elliott3e7dc642018-02-12 15:33:55 -050010{{- end -}}