Merge "make so chart one namespace compatible"
[oom.git] / kubernetes / common / common-templates / templates / _namespace.tpl
1 {{/*
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
7   - .Values.nsSuffix  : override namespace suffix
8 */}}
9 {{- define "common.namespace" -}}
10   {{- default .Release.Name .Values.nsPrefix -}}
11 {{- end -}}