containers: - name: record image: registry.gitlab.com/spreadspace/docker/ffmpeg:{{ recorder_ffmpeg_image_version }} imagePullPolicy: Always command: - /usr/local/bin/generic-record.py args: {% for param in recorder_input %} - '{{ param }}' {% endfor %} env: - name: CONFIG_FILENAME value: /srv/config.yml - name: QUALITY_LEVELS value: {{ recorder_quality_level }} - name: AUDIO_TRACKS value: {{ recorder_audio_tracks | join(',') }} {% if recorder_video_filter_common is defined %} - name: VIDEO_FILTER_COMMON value: "{{ recorder_video_filter_common }}" {% endif %} securityContext: privileged: true volumeMounts: - name: home mountPath: /srv - name: decklink-device mountPath: /dev/blackmagic - name: decklink-libs subPath: libDeckLinkAPI.so mountPath: /usr/lib/libDeckLinkAPI.so readOnly: true - name: decklink-libs subPath: libDeckLinkPreviewAPI.so mountPath: /usr/lib/libDeckLinkPreviewAPI.so readOnly: true - name: decklink-libs subPath: blackmagic mountPath: /usr/lib/blackmagic readOnly: true - name: decklink-etc mountPath: /etc/blackmagic readOnly: true volumes: - name: home hostPath: path: "{{ recorder_base_path }}/{{ recorder_inst_name }}" - name: decklink-device hostPath: path: /dev/blackmagic - name: decklink-libs hostPath: type: Directory path: /usr/lib/ - name: decklink-etc hostPath: path: /etc/blackmagic