apalia / cloudstack-csi-driver

Container Storage Interface (CSI) plugin for Apache CloudStack
Apache License 2.0
10 stars 19 forks source link

Bugfix for containers using custom uid #8

Open jairov4 opened 2 years ago

jairov4 commented 2 years ago

Containers running with custom uid are not able to access the mounted volume due permissions error. This fix add the permission flags at mount point level

joschi36 commented 2 years ago

This should not be implemented, as Kubernetes already has logic for this Case built-in.

See fsGroup in SecurityContext: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/