diff options
Diffstat (limited to 'roles/streaming/companion/templates/pod-spec.yml.j2')
-rw-r--r-- | roles/streaming/companion/templates/pod-spec.yml.j2 | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/roles/streaming/companion/templates/pod-spec.yml.j2 b/roles/streaming/companion/templates/pod-spec.yml.j2 new file mode 100644 index 00000000..f01637fe --- /dev/null +++ b/roles/streaming/companion/templates/pod-spec.yml.j2 @@ -0,0 +1,22 @@ +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 +volumes: +- name: dev-usb + hostPath: + path: /dev/bus/usb +- name: data + hostPath: + type: Directory + path: "{{ companion_basepath }}" |