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

Support Mounts into the wasm context #106

Open
jsturtevant opened this issue May 6, 2024 · 1 comment
Open

Support Mounts into the wasm context #106

jsturtevant opened this issue May 6, 2024 · 1 comment

Comments

@jsturtevant
Copy link
Contributor

Right now, youki from runwasi will take mounts from the pod spec and map them into the "container" that wraps the spin/wasmtime runtime. There may be cases, like getting a credential from a mounted file (csi secret store) that would be useful to the be exposed to the wasm runtime.

A quick look and it seems like something along the lines of loader mount files could be used.

There might be other ways to achieve this with tool like https://github.com/bytecodealliance/wasi-virt as well.

@rajatjindal
Copy link
Member

rajatjindal commented May 23, 2024

Hi @jsturtevant,

#108 seems similar to this request. could you pls check and let me know if the workaround I suggested in #108 (comment) works or we need more work for this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants