summaryrefslogtreecommitdiff
path: root/templates/default/flumotion/recorder.xml.j2
blob: 2634978b24d872618abbbf5dd8122e73da2b628f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
    <component name="{{ name }}"
               type="disk-consumer"
               label="{{ component.desc }}"
               worker="{{ component.worker }}"
               project="flumotion"
               version="{{ globals.version }}">
        <eater name="default">
          <feed alias="default">{{ component.feeder }}</feed>
        </eater>
%% for name, value in component.properties.items()
%%   if globals.deployment.type == "kubernetes" and name == "directory"
        <property name="{{ name }}">/srv/recordings/{{ component._recorder_id }}</property>
%%   else
        <property name="{{ name }}">{{ value }}</property>
%%   endif
%% endfor
        <clock-master>false</clock-master>
    </component>