aboutsummaryrefslogtreecommitdiffstats
path: root/kubernetes/common/templates/_namespace.tpl
blob: 3da9fee7c1c1b0b7fcfe8559aa56f2f4006f25d4 (plain)
1
2
3
4
5
6
7
8
9
10
{{/*
  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
*/}}
{{- define "common.namespace" -}}
  {{- default .Release.Namespace .Values.nsPrefix -}}
{{- end -}}