Helm Sentry installation failed on deployment: initdb: could not change permissions of directory
The issue was resolved by adding permissions to the service account that was being used to run commands on the pod.In my case the default service account on OpenShift was being used.I added the appropriate permissions to this service account using the cli:
oc adm policy add-scc-to-user anyuid -z default --as system:admin
Also see: https://blog.openshift.com/understanding-service-accounts-sccs/