summaryrefslogtreecommitdiff
path: root/templates/default/flumotion/recorder.xml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default/flumotion/recorder.xml.j2')
-rw-r--r--templates/default/flumotion/recorder.xml.j24
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/default/flumotion/recorder.xml.j2 b/templates/default/flumotion/recorder.xml.j2
index b2fce9e..2634978 100644
--- a/templates/default/flumotion/recorder.xml.j2
+++ b/templates/default/flumotion/recorder.xml.j2
@@ -8,7 +8,11 @@
<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>