Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update exec-outputs example for the k8s driver #1433

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

carolynvs
Copy link
Member

What does this change

When a bundle is executed on kubernetes, files are injected into the bundle using volume mounts. The mount point cannot be used in a move or remove operation. So while this bundle worked okay on Docker (because the docker driver injects files into the bundle using cp), the bundle fails with "device or resource busy" on the kubernetes driver.

Long term this is something that Porter can help workaround, but for now this fixes the bundle so that it doesn't try to move a file that was injected as a parameter or credential.

What issue does it fix

Gets this example to work with the Porter Operator.

Notes for the reviewer

N/A

Checklist

  • Unit Tests
  • Documentation
  • Schema (porter.yaml)

When a bundle is executed on kubernetes, files are injected into the
bundle using volume mounts. The mount point cannot be used in a move or remove
operation. So while this bundle worked okay on Docker (because the
docker driver injects files into the bundle using cp), the bundle fails
with "device or resource busy" on the kubernetes driver.

Long term this is something that Porter can help workaround, but for now
this fixes the bundle so that it doesn't try to move a file that was
injected as a parameter or credential.

Signed-off-by: Carolyn Van Slyck <me@carolynvanslyck.com>
@carolynvs carolynvs added this to In Progress in Porter and Mixins via automation Feb 1, 2021
@carolynvs carolynvs merged commit a9fa3bb into getporter:main Feb 1, 2021
Porter and Mixins automation moved this from In Progress to Done Feb 1, 2021
@carolynvs carolynvs deleted the fix-exec-outputs-bundle branch February 1, 2021 21:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants