You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Even though I don't have much experience in self-hosting storage for Kubernetes, I would say adding runAsGroup is the right idea and I'm happy to create a PR if wanted.
The text was updated successfully, but these errors were encountered:
I'm stuck with the following error when trying to create any kind of CockroachDB cluster using the operator:
The cluster manifest might look like this:
The storage class is for
csi-driver-nfs
and leads to the following directory tree:The CockroachDB pod manifest (
kubectl get pods primary-crdb-0 --output yaml
) has the following security context:Which explains why the permissions actually don't add up.
For comparison, using this storage setup, it is possible to create a working mount like this:
When creating a file (
touch /test/file
) from inside the container the directory tree looks like this:It works because all owner and group match.
I'm wondering if the operator should specify
runAsGroup
or if there is something unusual with my setup, and if this should not be necessary at all.The locations in the code would be the following:
Even though I don't have much experience in self-hosting storage for Kubernetes, I would say adding
runAsGroup
is the right idea and I'm happy to create a PR if wanted.The text was updated successfully, but these errors were encountered: