Files
deprecated-helm-charts/incubator/common/templates
Javier Domingo Cansino be764cb65d common: Util is not ready to be used with empty templates (#7261)
Going along the readme for the common package, it's suggested many times
to use the templates with no values inside, for example:

```
{{- template "common.ingress" (list . "mychart.ingress") -}}
{{- define "mychart.ingress" -}}
{{- end -}}
```

This will give the following error:

```
Error: rendering template failed: assignment to entry in nil map
```

By adding empty dict defaults, we can fix the code and respect the README

Signed-off-by: Javier Domingo Cansino <javierdo1@gmail.com>
2018-12-01 05:16:44 -08:00
..