|
|
|
@ -132,6 +132,8 @@ type Install struct {
|
|
|
|
|
// Lock to control raceconditions when the process receives a SIGTERM
|
|
|
|
|
Lock sync.Mutex
|
|
|
|
|
goroutineCount atomic.Int32
|
|
|
|
|
// In LintMode, some 'required' template values may be missing, so don't fail
|
|
|
|
|
LintMode bool
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// ChartPathOptions captures common options used for controlling chart paths
|
|
|
|
@ -353,7 +355,7 @@ func (i *Install) RunWithContext(ctx context.Context, ch ci.Charter, vals map[st
|
|
|
|
|
rel := i.createRelease(chrt, vals, i.Labels)
|
|
|
|
|
|
|
|
|
|
var manifestDoc *bytes.Buffer
|
|
|
|
|
rel.Hooks, manifestDoc, rel.Info.Notes, err = i.cfg.renderResources(chrt, valuesToRender, i.ReleaseName, i.OutputDir, i.SubNotes, i.UseReleaseName, i.IncludeCRDs, i.PostRenderer, interactWithRemote, i.EnableDNS, i.HideSecret)
|
|
|
|
|
rel.Hooks, manifestDoc, rel.Info.Notes, err = i.cfg.renderResources(chrt, valuesToRender, i.ReleaseName, i.OutputDir, i.SubNotes, i.UseReleaseName, i.IncludeCRDs, i.PostRenderer, interactWithRemote, i.EnableDNS, i.HideSecret, i.LintMode)
|
|
|
|
|
// Even for errors, attach this if available
|
|
|
|
|
if manifestDoc != nil {
|
|
|
|
|
rel.Manifest = manifestDoc.String()
|
|
|
|
|