opf / helm-charts

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

How to reuse existent persistentVolumeClaim #128

Open v1d3rm3 opened 1 week ago

v1d3rm3 commented 1 week ago

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

oliverguenther commented 1 week 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 1 week 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 1 week 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 1 week ago

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