Cloud API Overview > @adpt/cloud > k8s > PodSecurityContext > fsGroupChangePolicy
k8s.PodSecurityContext.fsGroupChangePolicy property
Defines behavior of changing ownership and permission of the volume before being exposed inside Pod.
This field will only apply to volume types which support fsGroup based ownership(and permissions). It will have no effect on ephemeral volume types such as: secret, configmaps and emptydir. Valid values are "OnRootMismatch" and "Always". If not specified defaults to "Always".
Signature:
fsGroupChangePolicy?: "OnRootMismatch" | "Always";