Mike Elliott | 3e7dc64 | 2018-02-12 15:33:55 -0500 | [diff] [blame] | 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 |
Mike Elliott | 3e7dc64 | 2018-02-12 15:33:55 -0500 | [diff] [blame] | 7 | */}} |
| 8 | {{- define "common.namespace" -}} |
Mandeep Khinda | a57d8dd | 2018-03-09 14:29:37 +0000 | [diff] [blame^] | 9 | {{- default .Release.Namespace .Values.nsPrefix -}} |
Mike Elliott | 3e7dc64 | 2018-02-12 15:33:55 -0500 | [diff] [blame] | 10 | {{- end -}} |