diff options
author | Christian Pointner <equinox@spreadspace.org> | 2018-02-04 03:40:13 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2018-02-04 03:40:13 +0100 |
commit | 61b341e40961770b285725cecafbc28de95054fe (patch) | |
tree | 1431b47bdce4d7fac5a69301117e8f6355c0b0c4 /templates/default/kubernetes/flumotion-worker-deploy.yml.j2 | |
parent | worker password are secrets now as well (diff) |
change handling of flags
Diffstat (limited to 'templates/default/kubernetes/flumotion-worker-deploy.yml.j2')
-rw-r--r-- | templates/default/kubernetes/flumotion-worker-deploy.yml.j2 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/templates/default/kubernetes/flumotion-worker-deploy.yml.j2 b/templates/default/kubernetes/flumotion-worker-deploy.yml.j2 index 9098866..1c5c003 100644 --- a/templates/default/kubernetes/flumotion-worker-deploy.yml.j2 +++ b/templates/default/kubernetes/flumotion-worker-deploy.yml.j2 @@ -26,7 +26,7 @@ spec: runAsUser: 998 fsGroup: 998 containers: -{% for subname, sub in worker.subs.items() %} +%% for subname, sub in worker.subs.items() - name: {{ subname }} image: spreadspace/flumotion:worker-{{ desc.globals.deployment.parameter.image_version }} imagePullPolicy: Always @@ -48,7 +48,7 @@ spec: volumeMounts: - name: home mountPath: /srv -{% if 'input-decklink' in sub.flags %} +%% if 'input-decklink' in sub.flags - name: decklink-devices mountPath: /dev/blackmagic - name: decklink-libs @@ -59,13 +59,13 @@ spec: mountPath: /usr/lib/libDeckLinkPreviewAPI.so securityContext: privileged: true -{% endif %} -{% endfor %} +%% endif +%% endfor volumes: - name: home emptyDir: medium: Memory -{% if 'input-decklink' in worker.flags %} +%% if 'input-decklink' in worker.flags - name: decklink-devices hostPath: type: Directory @@ -74,4 +74,4 @@ spec: hostPath: type: Directory path: /usr/lib/ -{% endif %} +%% endif |