Commit 73cc3d8 1 parent 414f3ac commit 73cc3d8 Copy full SHA for 73cc3d8
File tree 1 file changed +23
-8
lines changed
1 file changed +23
-8
lines changed Original file line number Diff line number Diff line change @@ -21,19 +21,34 @@ spec:
21
21
- name : node-root
22
22
hostPath :
23
23
path : /
24
- - name : entrypoint
25
- configMap :
26
- name : entrypoint
27
- defaultMode : 0744
24
+ - name : assets
25
+ emptyDir : {}
28
26
initContainers :
29
- - image : ghcr.io/kwasm/kwasm-node-installer:main
30
- name : kwasm-initializer
27
+ - image : busybox:latest
28
+ name : shim-downloader
31
29
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"
34
47
securityContext :
35
48
privileged : true
36
49
volumeMounts :
50
+ - name : assets
51
+ mountPath : /assets
37
52
- name : node-root
38
53
mountPath : /mnt/node-root/
39
54
containers :
You can’t perform that action at this time.
0 commit comments