Skip to main content

effective_run_as_group

Function effective_run_as_group 

Source
pub fn effective_run_as_group(
    sc: Option<&SecurityContext>,
    psc: Option<&PodSecurityContext>,
) -> Option<i64>
Expand description

The effective runAsGroup following kubelet precedence — the gid peer of effective_run_as_user: container securityContext.runAsGroup if set, else the pod one. None when neither pins a group (image-determined).