Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for DetermineEffectiveRunAsUser (0.48 sec)

  1. pkg/securitycontext/util.go

    		*effectiveSc.ProcMount = *containerSc.ProcMount
    	}
    
    	return effectiveSc
    }
    
    // DetermineEffectiveRunAsUser returns a pointer of UID from the provided pod's
    // and container's security context and a bool value to indicate if it is absent.
    // Container's runAsUser take precedence in cases where both are set.
    func DetermineEffectiveRunAsUser(pod *v1.Pod, container *v1.Container) (*int64, bool) {
    	var runAsUser *int64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 15 07:28:24 UTC 2023
    - 7.5K bytes
    - Viewed (0)
Back to top