opf / helm-charts

OPF helm chart repository
https://charts.openproject.org
GNU General Public License v3.0
11 stars 23 forks source link

How to reuse existent persistentVolumeClaim #128

Open v1d3rm3 opened 2 months ago

v1d3rm3 commented 2 months ago

I didn't find any information about usage of already deploy PVC. Can anyone help me?

oliverguenther commented 2 months ago

Hi @v1d3rm3 , can you try persistence.existingClaim, see https://github.com/opf/helm-charts/blob/main/charts/openproject/templates/web-deployment.yaml#L53

v1d3rm3 commented 2 months ago

@oliverguenther, i saw this option. The problem is with the worker deployment, which doesn't have this specification. What is the purpose of this container?

oliverguenther commented 2 months ago

The worker is relevant for the background job execution (mail sending, backups, etc). I assume that the worker deployment needs to have the same option. We'll look into this.

In the end, it depends on whether you need shared volumes between the two (ReadWriteMany, see https://www.openproject.org/docs/installation-and-operations/installation/helm-chart/#readwritemany-volumes), or whether you want object storage instead. We recommend you use object storage in these kind of deployments, as RWX can be complicated depending on your storage provider.

v1d3rm3 commented 2 months ago

We're using NFS, which documentation says it has support to ReadWriteMany.