-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with external NFS data when volume data alfready exist #942
Comments
Hi @shazada , repository:
persistence:
enabled: true
existingClaim: myNFSexport More (hopefully useful) details can be found here: https://github.com/Alfresco/acs-deployment/blob/master/docs/helm/storage.md |
@alxgomz thanks! I'll try that. And how does this work with the service account then: If I add the NFS without suppliying this serviceAccount whith has NFS capabilities the POD can't connect to NFS. |
Which CSI driver are you using? Usually we use the EFS CSI drivers which do not requires anything specific (though we use it with dynamic provisioning) |
Oh I took a second look and I think you might be using the in-old tree kubernetes storage driver (which options such as |
So the use-case is:
So i'm not sure if what we're doing is wrong --> but it's how we've done it in the past years.
At this point when you deploy REPO it triggers the following helper:
https://github.com/Alfresco/alfresco-helm-charts/blob/main/charts/alfresco-common/templates/_helpers-persistence.tpl#L5
This creates a
- name: data
If we disable persistance it still creates the data volume with emptydir 20GI.
Our override_values.yaml looks like this
So it fails to create another data volume, because the previous created bij the helper-class already exist.
To counter this, I've to change the default chart and put and if else around this include:
f03a7a5#diff-becdf0661f6bb1923c084bf71ae8ae8dd78285bd61c4046e839c9f91ca65c44fL194
The text was updated successfully, but these errors were encountered: