From e80ca37138a143c1a280bcf5d02dcd8fd8e02577 Mon Sep 17 00:00:00 2001 From: Tom Austin Date: Wed, 3 Sep 2025 12:03:55 +0100 Subject: [PATCH] Fixes issue where arguments ins't passed to helm uninstall commands --- Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts | 9 +++++++-- Tasks/HelmDeployV1/task.json | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts b/Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts index b4e8c8dd47f1..053d7d05abce 100644 --- a/Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts +++ b/Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts @@ -5,11 +5,16 @@ import helmcli from "../helmcli"; export async function addArguments(helmCli: helmcli): Promise { var releaseName = tl.getInput("releaseName", true); - var namespace = tl.getInput("namespace" , false); + var namespace = tl.getInput("namespace", false); + var argumentsInput = tl.getInput("arguments", false); helmCli.addArgument(releaseName); if (namespace) { helmCli.addArgument("--namespace ".concat(namespace)); - } + } + + if (argumentsInput) { + helmCli.addArgument(argumentsInput); + } } \ No newline at end of file diff --git a/Tasks/HelmDeployV1/task.json b/Tasks/HelmDeployV1/task.json index 69f8c2e9598c..b5594f6fa3e0 100644 --- a/Tasks/HelmDeployV1/task.json +++ b/Tasks/HelmDeployV1/task.json @@ -14,7 +14,7 @@ "version": { "Major": 1, "Minor": 262, - "Patch": 3 + "Patch": 4 }, "demands": [], "groups": [