mirror of
https://github.com/helm/charts.git
synced 2026-09-05 12:27:30 +00:00
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>
12 lines
251 B
YAML
Executable File
12 lines
251 B
YAML
Executable File
apiVersion: v1
|
|
description: Common chartbuilding components and helpers
|
|
name: common
|
|
version: 0.0.5
|
|
appVersion: 0.0.5
|
|
home: https://helm.sh
|
|
maintainers:
|
|
- name: technosophos
|
|
email: technosophos@gmail.com
|
|
- name: prydonius
|
|
email: adnan@bitnami.com
|