diff options
author | Christian Pointner <equinox@spreadspace.org> | 2024-03-16 19:20:34 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2024-03-16 19:20:34 +0100 |
commit | 336398e61990c3695ab0463408d95665f32db445 (patch) | |
tree | 2eef0adfcfac59615b61b61ed27634fd94a7f08e /roles/streaming/companion/templates/pod-spec.yml.j2 | |
parent | raspios: rsync is needed for rpi-firmware (diff) |
add companion role
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 }}" |