forked from siderolabs/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
iscsid.yaml
78 lines (78 loc) · 1.54 KB
/
iscsid.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
name: iscsid
depends:
- service: cri
- service: ext-tgtd
- network:
- addresses
- connectivity
- hostname
- etcfiles
container:
entrypoint: /usr/local/sbin/iscsid-wrapper
security:
maskedPaths: []
readonlyPaths: []
writeableSysfs: true
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
# iscsi libs
- 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
# persistent storage for iscsi
- source: /system/iscsi
destination: /etc/iscsi
type: bind
options:
- rshared
- rbind
- rw
- source: /usr/local/etc/iscsi/iscsid.conf
destination: /etc/iscsi/iscsid.conf
type: bind
options:
- bind
- ro
- source: /usr/local/etc/passwd
destination: /etc/passwd
type: bind
options:
- bind
- ro
- source: /var/lib/iscsi
destination: /var/lib/iscsi
type: bind
options:
- rshared
- rbind
- rw
- source: /run/lock/iscsi
destination: /run/lock/iscsi
type: bind
options:
- rshared
- rbind
- rw
restart: always