Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getPreallocatedSupplementalGroups (0.19 sec)

  1. pkg/kube/inject/openshift.go

    	max := int64(uidBlock.End)
    	log.Debugf("got preallocated values for min: %d, max: %d for uid range in namespace %s", min, max, ns.Name)
    	return &min, &max, nil
    }
    
    // getPreallocatedSupplementalGroups gets the annotated value from the namespace.
    func getPreallocatedSupplementalGroups(ns *corev1.Namespace) ([]securityv1.IDRange, error) {
    	groups, err := getSupplementalGroupsAnnotation(ns)
    	if err != nil {
    		return nil, err
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 25 19:10:42 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  2. pkg/kube/inject/inject.go

    	if _, uidMax, err := getPreallocatedUIDRange(namespace); err == nil {
    		uid = *uidMax
    	}
    	if groups, err := getPreallocatedSupplementalGroups(namespace); err == nil && len(groups) > 0 {
    		gid = groups[0].Max
    	}
    
    	return
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 20:35:11 UTC 2024
    - 28.8K bytes
    - Viewed (1)
Back to top