Document nextcloud.persistence.subPath
At the moment it is not really possible to use nextcloud.persistence.subPath because it is not clear what can be entered. It would be good if an example could be given here similar to nextcloud.configs. For example how to integrate a custom app.
Sorry for the very long delay, but thank you for the suggestion!
I agree, we should have a commented out value of what is expected in the values.yaml. It could also be a short note in the README.md, but I'm unsure if that makes more sense in a future documentation website where we go over persistence more thoroughly?
For now, to answer your question, it looks like subPath is referring to volumeMounts so it should be a subpath of /var/www according to:
https://github.com/nextcloud/helm/blob/da174ec4d8f01a829f0d481894dbc896f1bab199/charts/nextcloud/templates/_helpers.tpl#L207-L213
I'm open to reviewing any PRs to make the documentation more clear :)