ref(pkg/engine): cleanup of development `hack`

This was left in from some of the chart builder work.  I forgot to
remove it.

Signed-off-by: Adam Reese <adam@reese.io>
pull/6351/head
Adam Reese 5 years ago
parent 0b22b27aa2
commit 4fcc876786
No known key found for this signature in database
GPG Key ID: 06F35E60A7A18DD6

@ -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

Loading…
Cancel
Save