summaryrefslogtreecommitdiff
path: root/roles/streaming/player/templates/pod-spec.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/streaming/player/templates/pod-spec.yml.j2')
-rw-r--r--roles/streaming/player/templates/pod-spec.yml.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/roles/streaming/player/templates/pod-spec.yml.j2 b/roles/streaming/player/templates/pod-spec.yml.j2
index 46175a41..8cd6c355 100644
--- a/roles/streaming/player/templates/pod-spec.yml.j2
+++ b/roles/streaming/player/templates/pod-spec.yml.j2
@@ -29,6 +29,11 @@ containers:
subPath: blackmagic
mountPath: /usr/lib/blackmagic
readOnly: true
+{% for name, mount in player_volume_mounts.items() %}
+ - name: {{ name }}
+ mountPath: {{ mount.dest }}
+ readOnly: true
+{% endfor %}
volumes:
- name: decklink-device
@@ -38,3 +43,9 @@ volumes:
hostPath:
type: Directory
path: /usr/lib/
+{% for name, mount in player_volume_mounts.items() %}
+- name: {{ name }}
+ hostPath:
+ type: Directory
+ path: {{ mount.src }}
+{% endfor %}