Open grzesuav opened 2 months ago
Thanks @grzesuav , we just noticed this internally at the end of last week as well. It looks like a package change on the container base image side.
In the meantime, you can try rolling back to an earlier database container version:
https://quay.io/repository/cryostat/cryostat-db?tab=tags
ex.
$ helm install cryostat --set pvc.enabled=true --set db.image.tag=2024-08-19 ./charts/cryostat/
Sorry, actually the bug that my colleague spotted last week was in the downstream equivalent container build, which works a bit differently from the upstream one. The root cause is therefore different and isn't actually the same bug, it's just that both manifest as '/var/lib/pgsql/data/userdata': Permission denied
.
For this case, maybe it has to do with the security context and fsGroup
of the container?
https://kubernetes.io/docs/tasks/configure-pod-container/security-context/
Current Behavior
I added pvc with following settings
and cryostat does not start, issue is with
cryostat-db
container -in the deployment
and in cryostat-db container
I believe some file ownership should be changed ?
Expected Behavior
Cryostat start succesfully
Steps To Reproduce
No response
Environment
Anything else?
No response