From 73cb7af7c31d1cd68f46acbc332931b80360a987 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 15 Oct 2019 08:38:38 +0200 Subject: hack to make collabora work for now --- roles/collabora/code/templates/pod.yml.j2 | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'roles/collabora/code/templates') diff --git a/roles/collabora/code/templates/pod.yml.j2 b/roles/collabora/code/templates/pod.yml.j2 index 1efc57e7..ee4651a1 100644 --- a/roles/collabora/code/templates/pod.yml.j2 +++ b/roles/collabora/code/templates/pod.yml.j2 @@ -18,6 +18,16 @@ spec: value: "{{ item.value.admin_password }}" - name: "extra_params" value: "--o:ssl.enable=false --o:ssl.termination=true" + volumeMounts: + - name: config + mountPath: /etc/loolwsd/loolwsd.xml + subPath: loolwsd.xml + readOnly: true ports: - containerPort: 9980 hostPort: {{ item.value.port }} + volumes: + - name: config + hostPath: + path: "{{ collabora_code_base_path }}/{{ item.key }}/config/" + type: Directory -- cgit v1.2.3