12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- {{- define "collabora.persistence" -}}
- persistence:
- tmp:
- enabled: true
- type: emptyDir
- targetSelector:
- collabora:
- collabora:
- mountPath: /tmp
- nginx:
- nginx:
- mountPath: /tmp
- varcache:
- enabled: true
- type: emptyDir
- targetSelector:
- nginx:
- nginx:
- mountPath: /var/cache/nginx
- varrun:
- enabled: true
- type: emptyDir
- targetSelector:
- nginx:
- nginx:
- mountPath: /var/run
- {{- if .Values.collaboraNetwork.certificateID }}
- nginx-conf:
- enabled: true
- type: configmap
- objectName: nginx-conf
- defaultMode: "0600"
- targetSelector:
- nginx:
- nginx:
- mountPath: /etc/nginx/nginx.conf
- subPath: nginx.conf
- readOnly: true
- cert:
- enabled: true
- type: secret
- objectName: collabora-cert
- defaultMode: "0600"
- items:
- - key: tls.key
- path: server.key
- - key: tls.crt
- path: server.crt
- targetSelector:
- nginx:
- nginx:
- mountPath: /etc/certs
- readOnly: true
- {{- end }}
- {{- range $idx, $storage := .Values.collaboraStorage.additionalStorages }}
- {{ printf "collabora-%v:" (int $idx) }}
- enabled: true
- {{- include "ix.v1.common.app.storageOptions" (dict "storage" $storage) | nindent 4 }}
- targetSelector:
- collabora:
- collabora:
- mountPath: {{ $storage.mountPath }}
- {{- end }}
- {{- end -}}
|