-
Notifications
You must be signed in to change notification settings - Fork 123
/
zfs-service.yaml
executable file
·58 lines (58 loc) · 1.05 KB
/
zfs-service.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: zfs-service
depends:
- service: udevd
- service: cri
- path: /dev/zfs
container:
entrypoint: /zfs-service
mounts:
# ld-musl-x86_64.so.1
- source: /lib
destination: /lib
type: bind
options:
- bind
- ro
# libcrypto.so and libc.so
- source: /usr/lib
destination: /usr/lib
type: bind
options:
- bind
- ro
- source: /usr/local/lib
destination: /usr/local/lib
type: bind
options:
- bind
- ro
- source: /usr/local/sbin
destination: /usr/local/sbin
type: bind
options:
- bind
- ro
- source: /dev
destination: /dev
type: bind
options:
- rshared
- rbind
- rw
- source: /run
destination: /run
type: bind
options:
- rshared
- rbind
- rw
- source: /var
destination: /var
type: bind
options:
- rshared
- rbind
- rw
security:
rootfsPropagation: shared
restart: untilSuccess