diff --git a/pkg/action/install.go b/pkg/action/install.go index 292a7ec27..07149e3e9 100644 --- a/pkg/action/install.go +++ b/pkg/action/install.go @@ -453,6 +453,10 @@ func (c *Configuration) renderResources(ch *chart.Chart, values chartutil.Values return hs, b, "", err } + for _, f := range ch.Manifests { + files[f.Name] = string(f.Data) + } + // NOTES.txt gets rendered like all the other files, but because it's not a hook nor a resource, // pull it out of here into a separate file so that we can actually use the output of the rendered // text file. We have to spin through this map because the file contains path information, so we diff --git a/pkg/chart/chart.go b/pkg/chart/chart.go index c3e99eae6..92551e095 100644 --- a/pkg/chart/chart.go +++ b/pkg/chart/chart.go @@ -37,6 +37,8 @@ type Chart struct { Lock *Lock `json:"lock"` // Templates for this chart. Templates []*File `json:"templates"` + // Manifests which won't be passed through the rendering engine. + Manifests []*File `json:"manifests"` // Values are default config for this chart. Values map[string]interface{} `json:"values"` // Schema is an optional JSON schema for imposing structure on Values