aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/common-templates/templates/_namespace.tpl
blob: 2964a0f2077f774c67ffae4de6756894672afbe6 (plain)
1
2
3
4
5
6
7
8
9
10
11
{{/*
  Resolve the namespace to apply to a chart. The default namespace suffix
  is the name of the chart. This can be overridden if necessary (eg. for subcharts)
  using the following value:

  - .Values.nsPrefix  : override namespace prefix
  - .Values.nsSuffix  : override namespace suffix
*/}}
{{- define "common.namespace" -}}
  {{- default .Release.Name .Values.nsPrefix -}}
{{- end -}}