-
Notifications
You must be signed in to change notification settings - Fork 289
Closed
Description
Background
This issue in runwasi containerd/runwasi#108 and the approach outlined in https://docs.google.com/document/d/11shgC3l6gplBjWF1VJCWvN_9do51otscAm0hBDGSSAc. Also the changes proposed in #1857
Proposed changes
In kubernetes based environment, the OCI artifacts might be already pre-pulled but the OCI client requires pulling them:
It would be nice to have a function similiar to let app = spin_loader::from_file(PathBuf::from("/spin.toml"), Some(working_dir.clone())).await.context("unable to find app file")?;
but for spin.json that OCI artifacts use.
I've prototyped this working with this change used in deislabs/containerd-wasm-shims#164. But there might be better ways to approach it.
Metadata
Metadata
Assignees
Labels
No labels