Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for MakeGroupNames (0.29 sec)

  1. staging/src/k8s.io/apiserver/pkg/authentication/serviceaccount/util.go

    	}
    	if len(apimachineryvalidation.ValidateServiceAccountName(name, false)) != 0 {
    		return "", "", invalidUsernameErr
    	}
    	return namespace, name, nil
    }
    
    // MakeGroupNames generates service account group names for the given namespace
    func MakeGroupNames(namespace string) []string {
    	return []string{
    		AllServiceAccountsGroup,
    		MakeNamespaceGroupName(namespace),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 05 10:24:31 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/endpoints/filters/impersonation.go

    				if !groupsSpecified {
    					// if groups aren't specified for a service account, we know the groups because its a fixed mapping.  Add them
    					groups = serviceaccount.MakeGroupNames(impersonationRequest.Namespace)
    				}
    
    			case v1.SchemeGroupVersion.WithKind("User").GroupKind():
    				actingAsAttributes.Resource = "users"
    				username = impersonationRequest.Name
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 10:10:35 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top