fix: ensure the InstallChart function also attaches the debug renderer

This commit is contained in:
Jose Diaz-Gonzalez committed 2025-07-23 18:34:53 -04:00
1 parent 1cbaabdda0
commit e034421ea9
1 file changed
+4
+4
View File
@@ -242,6 +242,10 @@ func (h *HelmAgent) InstallChart(ctx context.Context, input ChartInput) error {
client.ChartPathOptions = action.ChartPathOptions{}
client.CreateNamespace = true
client.DryRun = false
if os.Getenv("DOKKU_TRACE") == "1" {
client.DryRun = true
client.PostRenderer = &DebugRenderer{}
}
client.Namespace = namespace
client.ReleaseName = input.ReleaseName
client.Timeout = input.Timeout