apiVersion: v1 kind: Pod metadata: name: "collabora-code-{{ item.key }}" spec: containers: - name: collabora-code image: "collabora/code{% if 'custom_image' in item.value %}/{{ item.key }}{% endif %}:{{ item.value.version }}" resources: limits: memory: "4Gi" env: - name: "DONT_GEN_SSL_CERT" value: "1" - 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 }} hostIP: 127.0.0.1 volumes: - name: config hostPath: path: "{{ collabora_code_base_path }}/{{ item.key }}/config/" type: Directory