summaryrefslogtreecommitdiff
path: root/templates/default/flumotion/recorder.xml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2018-02-04 03:40:13 +0100
committerChristian Pointner <equinox@spreadspace.org>2018-02-04 03:40:13 +0100
commit61b341e40961770b285725cecafbc28de95054fe (patch)
tree1431b47bdce4d7fac5a69301117e8f6355c0b0c4 /templates/default/flumotion/recorder.xml.j2
parentworker password are secrets now as well (diff)
change handling of flags
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>