Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Tasks/HelmDeployV1/src/helmcommands/helmuninstall.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,16 @@ import helmcli from "../helmcli";

export async function addArguments(helmCli: helmcli): Promise<void> {
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);
}
}
2 changes: 1 addition & 1 deletion Tasks/HelmDeployV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"version": {
"Major": 1,
"Minor": 262,
"Patch": 3
"Patch": 4
},
"demands": [],
"groups": [
Expand Down