forked from siderolabs/extensions
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tgtd.yaml
48 lines (48 loc) · 877 Bytes
/
tgtd.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
name: tgtd
depends:
- service: cri
- network:
- addresses
- connectivity
- hostname
- etcfiles
container:
entrypoint: /usr/local/sbin/tgtd
args:
- -f
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: /var/run/tgtd
destination: /var/run/tgtd
type: bind
options:
- rshared
- rbind
- rw
- source: /proc
destination: /proc
type: bind
options:
- rshared
- rbind
- rw
- source: /usr/local/sbin
destination: /usr/local/sbin
type: bind
options:
- bind
- ro
restart: always