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
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
Dec 25, 2024
It's a stable feature of kubernetes since 1.23: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#configure-volume-permission-and-ownership-change-policy-for-pods, and very useful, especially when you run containers as non-root.
This feature does not seem to be supported by nfs-subdir-external-provisioner.
Here is a test-case:
touch test
, see its owner/group withls -ln test
ls -ln test
if the group has been changed to the one specified in fsGroup (70 in my example below)Example manifests:
The text was updated successfully, but these errors were encountered: