Files
Adnan Abdulhussein e163767afc add common chart to incubator (#1611)
* add common chart to incubator

moving the common chart to incubator so we can actively work on it

* Excuse incubator/common from tests
2017-09-04 18:08:48 -05:00

15 lines
298 B
Go

{{- /*
common.chartref prints a chart name and version.
It does minimal escaping for use in Kubernetes labels.
Example output:
zookeeper-1.2.3
wordpress-3.2.1_20170219
*/ -}}
{{- define "common.chartref" -}}
{{- replace "+" "_" .Chart.Version | printf "%s-%s" .Chart.Name -}}
{{- end -}}