From e034421ea9ce42d320133ae6a3bcfa8f80e13348 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 8 Jul 2025 00:42:57 -0400 Subject: [PATCH] fix: ensure the InstallChart function also attaches the debug renderer --- plugins/scheduler-k3s/helm.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plugins/scheduler-k3s/helm.go b/plugins/scheduler-k3s/helm.go index 8f007cdf1..da4cd008c 100644 --- a/plugins/scheduler-k3s/helm.go +++ b/plugins/scheduler-k3s/helm.go @@ -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