Skip to content

Commit 49b26dc

Browse files
committed
Pass context to helm install
1 parent 26f582d commit 49b26dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/helm/chart_data.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func (c *Chart) templateData(ctx context.Context, chartPath string) ([]byte, err
169169
c.TemplateOpts.ValuesObject = make(map[string]any)
170170
}
171171

172-
release, err := ta.Run(loadedChart, c.TemplateOpts.ValuesObject)
172+
release, err := ta.RunWithContext(ctx, loadedChart, c.TemplateOpts.ValuesObject)
173173
if err != nil {
174174
return nil, fmt.Errorf("failed to run install action: %w", err)
175175
}

0 commit comments

Comments
 (0)