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

Provide porcelain flag in eval for mounting the current directory #2351

Open
frankfarzan opened this issue Jun 29, 2021 · 1 comment
Open
Labels
area/hydrate enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed p2 triaged Issue has been triaged by adding an `area/` label

Comments

@frankfarzan
Copy link
Contributor

frankfarzan commented Jun 29, 2021

Often times, when running functions that require access to the host filesystem, you want to operate on package hierarchy in the current working directory. Consider providing a short-hand for doing:

type=bind,src="$(pwd)",dst=/cwd,rw=true

e.g.

--mount-current or something like that.

Need to consider a convention for the default directory in the container.

https://kpt.dev/book/04-using-functions/02-imperative-function-execution?id=mounting-directories

@frankfarzan frankfarzan added area/hydrate triaged Issue has been triaged by adding an `area/` label labels Jun 29, 2021
@frankfarzan frankfarzan added this to the v1.1 milestone Jun 29, 2021
@droot
Copy link
Contributor

droot commented Jun 29, 2021

Yes, this is definitely needed.

@droot droot added the enhancement New feature or request label Jun 29, 2021
@mikebz mikebz removed this from the v1.1 milestone Jul 14, 2021
@droot droot added good first issue Good for newcomers help wanted Extra attention is needed p2 labels May 27, 2022
@yuwenma yuwenma added good first issue Good for newcomers and removed good first issue Good for newcomers labels Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hydrate enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed p2 triaged Issue has been triaged by adding an `area/` label
Projects
None yet
Development

No branches or pull requests

4 participants