Skip to content

Commit

Permalink
fix(k8s): error copying artifacts with new version of tar in image
Browse files Browse the repository at this point in the history
Fixes #2445
  • Loading branch information
edvald authored and thsig committed Jun 25, 2021
1 parent 2746fcf commit e0debaf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/src/plugins/kubernetes/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,8 @@ async function runWithArtifacts({
// Files to match. The .DS_Store file is a trick to avoid errors when no files are matched. The file is
// ignored later when copying from the temp directory. See https://github.com/sindresorhus/cpy#ignorejunk
`$(ls ${sourcePath} 2>/dev/null) /tmp/.DS_Store`,
// Fix issue https://github.com/garden-io/garden/issues/2445
"| cat",
]

try {
Expand Down

0 comments on commit e0debaf

Please sign in to comment.