File tree Expand file tree Collapse file tree 1 file changed +23
-8
lines changed
Expand file tree Collapse file tree 1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,34 @@ spec:
2121 - name : node-root
2222 hostPath :
2323 path : /
24- - name : entrypoint
25- configMap :
26- name : entrypoint
27- defaultMode : 0744
24+ - name : assets
25+ emptyDir : {}
2826 initContainers :
29- - image : ghcr.io/kwasm/kwasm-node-installer:main
30- name : kwasm-initializer
27+ - image : busybox:latest
28+ name : shim-downloader
3129 env :
32- - name : NODE_ROOT
33- value : /mnt/node-root
30+ volumeMounts :
31+ - name : assets
32+ mountPath : /assets
33+ command : ["/bin/sh", "-c"]
34+ args :
35+ - |
36+ wget -O- https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.1/containerd-wasm-shims-v1-lunatic-linux-$(uname -m).tar.gz | tar xzf - -C /assets;
37+ wget -O- https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.1/containerd-wasm-shims-v1-slight-linux-$(uname -m).tar.gz | tar -xzf - -C /assets;
38+ wget -O- https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.1/containerd-wasm-shims-v1-spin-linux-$(uname -m).tar.gz | tar -xzf - -C /assets;
39+ wget -O- https://github.com/deislabs/containerd-wasm-shims/releases/download/v0.9.1/containerd-wasm-shims-v1-wws-linux-$(uname -m).tar.gz | tar -xzf - -C /assets
40+ - image : ghcr.io/kwasm/kwasm-node-installer:pr-46
41+ name : kwasm-initializer
42+ imagePullPolicy : Always
43+ args :
44+ - " install"
45+ - " -H"
46+ - " /mnt/node-root"
3447 securityContext :
3548 privileged : true
3649 volumeMounts :
50+ - name : assets
51+ mountPath : /assets
3752 - name : node-root
3853 mountPath : /mnt/node-root/
3954 containers :
You can’t perform that action at this time.
0 commit comments