blob: 3be3e488a11c99b2561f54c9be70372d6410c7ec (
plain) (
blame)
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
|
hostNetwork: true
containers:
- name: companion
image: ghcr.io/bitfocus/companion/companion:v{{ companion_version }}
imagePullPolicy: Always
securityContext:
privileged: true
supplementalGroups:
- 46 # plugdev
volumeMounts:
- name: dev-usb
mountPath: /dev/bus/usb
- name: data
mountPath: /companion
- name: secrets
mountPath: /secrets
readOnly: yes
volumes:
- name: dev-usb
hostPath:
path: /dev/bus/usb
- name: data
hostPath:
type: Directory
path: "{{ companion_basepath }}/data"
- name: secrets
hostPath:
type: Directory
path: "{{ companion_basepath }}/secrets"
|