|
|
@ -223,11 +223,7 @@ func (e Engine) renderWithReferences(tpls, referenceTpls map[string]renderable)
|
|
|
|
// Work around the issue where Go will emit "<no value>" even if Options(missing=zero)
|
|
|
|
// Work around the issue where Go will emit "<no value>" even if Options(missing=zero)
|
|
|
|
// is set. Since missing=error will never get here, we do not need to handle
|
|
|
|
// is set. Since missing=error will never get here, we do not need to handle
|
|
|
|
// the Strict case.
|
|
|
|
// the Strict case.
|
|
|
|
f := &chart.File{
|
|
|
|
rendered[filename] = strings.ReplaceAll(buf.String(), "<no value>", "")
|
|
|
|
Name: strings.ReplaceAll(filename, "/templates", "/manifests"),
|
|
|
|
|
|
|
|
Data: []byte(strings.ReplaceAll(buf.String(), "<no value>", "")),
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
rendered[filename] = string(f.Data)
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
return rendered, nil
|
|
|
|
return rendered, nil
|
|
|
|