Skip to content

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

@frankfarzan

Description

@frankfarzan

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions