blob: a01bafeefe9af6fa2640f9fe045c565046a79d1e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
containers:
- name: collabora-code
image: "collabora/code{% if 'custom_image' in collabora_code_instances[collabora_code_instance] %}/{{ collabora_code_instance }}{% endif %}:{{ collabora_code_instances[collabora_code_instance].version }}"
resources:
limits:
memory: "4Gi"
env:
- name: "DONT_GEN_SSL_CERT"
value: "1"
volumeMounts:
- name: temp
mountPath: /opt/cool/child-roots
- name: config
mountPath: /etc/coolwsd/coolwsd.xml
subPath: coolwsd.xml
readOnly: true
- name: config
mountPath: /etc/coolwsd/ca-chain.cert.pem
subPath: cert.pem
readOnly: true
- name: config
mountPath: /etc/coolwsd/cert.pem
subPath: cert.pem
readOnly: true
- name: config
mountPath: /etc/coolwsd/key.pem
subPath: key.pem
readOnly: true
ports:
- containerPort: 9980
hostPort: {{ collabora_code_instances[collabora_code_instance].port }}
hostIP: 127.0.0.1
volumes:
- name: config
hostPath:
path: "{{ collabora_code_instance_basepath }}/config/"
type: Directory
- name: temp
emptyDir:
medium: Memory
|