summaryrefslogtreecommitdiff
path: root/roles/collabora/code/templates/pod.yml.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/collabora/code/templates/pod.yml.j2')
-rw-r--r--roles/collabora/code/templates/pod.yml.j210
1 files changed, 10 insertions, 0 deletions
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