Skip to content

Commit

Permalink
fix(k8s): incorrect flags sent to kubectl run when not interactive
Browse files Browse the repository at this point in the history
  • Loading branch information
edvald committed Dec 10, 2018
1 parent 35be185 commit 260b976
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions garden-service/src/plugins/kubernetes/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,11 @@ export async function runModule(
`--image=${image}`,
"--restart=Never",
"--command",
"--rm",
"--quiet",
]

if (interactive) {
opts.push("-it")
opts.push("--rm", "-it")
}

const kubecmd = [
Expand Down

0 comments on commit 260b976

Please sign in to comment.