Skip to content

Commit

Permalink
Merge pull request #436 from garden-io/fix-k8s-tests
Browse files Browse the repository at this point in the history
fix(k8s): incorrect flags sent to `kubectl run` when not interactive
  • Loading branch information
eysi09 authored Dec 10, 2018
2 parents 35be185 + 260b976 commit 2a9d52f
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 2a9d52f

Please sign in to comment.