Skip to content

Commit

Permalink
chore: update stargz extension
Browse files Browse the repository at this point in the history
This PR updates the stargz extension with mounts needed for fuse to work as expected when deployed alongside the fuse3 extension.

Signed-off-by: Spencer Smith <[email protected]>
  • Loading branch information
rsmitty committed Oct 5, 2023
1 parent dc619c4 commit 9b5c56f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions container-runtime/stargz-snapshotter/stargz-snapshotter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: stargz-snapshotter
depends:
- service: cri
container:
environment:
- PATH=/usr/local/bin
entrypoint: ./containerd-stargz-grpc
args:
- --address=/var/run/containerd-stargz-grpc/containerd-stargz-grpc.sock
Expand All @@ -26,4 +28,29 @@ container:
options:
- bind
- ro
- source: /lib
destination: /lib
type: bind
options:
- bind
- ro
- source: /usr/lib
destination: /usr/lib
type: bind
options:
- bind
- ro
- source: /usr/local/bin
destination: /usr/local/bin
type: bind
options:
- bind
- ro
- source: /dev
destination: /dev
type: bind
options:
- rshared
- rbind
- rw
restart: always

0 comments on commit 9b5c56f

Please sign in to comment.