claimName does not always match pvc
Symptom: if you name your Helm release of this chart "nextcloud", installation will fail. This is because the integration Job specifies as name for the Nextcloud PVC:
printf "%s-%s" .Release.Name "nextcloud-nextcloud"
, while the actual name as specified by the PVC's template is
{{ template "nextcloud.fullname" . }}-nextcloud
, where the template function will usually return {{ .Release.Name }}-nextcloud
, but is reduced to just the release name if it happens to contain "nextcloud", and also can be overridden by some special settings in the values file.
Ideally we would call this same template function from the integration Job description, but I haven't tried yet if that is allowed by Helm.