-
Hello, I have hostPath PersistentVolume that mounts correctly. I set securityContext/fsGroup as described in documentation.
Also I have extraMounts config as described in documentation
These settings are applied to the pod, but they do not change the owner of the mountPath. The group is still root, not the fsGroup ID
Does anyone know why this is happening? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Resolved by this code, but I don't understand why is fsGroup is not works directly.
|
Beta Was this translation helpful? Give feedback.
-
I think something is missing in the question, the volume is |
Beta Was this translation helpful? Give feedback.
Resolved by this code, but I don't understand why is fsGroup is not works directly.