Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for ValidateAuthorizationConfiguration (0.47 sec)

  1. pkg/kubeapiserver/authorizer/config.go

    	if err != nil {
    		return nil, fmt.Errorf("failed to load AuthorizationConfiguration from file: %w", err)
    	}
    
    	// validate the file and return any error
    	if errors := validation.ValidateAuthorizationConfiguration(nil, authorizationConfiguration,
    		sets.NewString(modes.AuthorizationModeChoices...),
    		sets.NewString(repeatableAuthorizerTypes...),
    	); len(errors) != 0 {
    		return nil, fmt.Errorf(errors.ToAggregate().Error())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 8K bytes
    - Viewed (0)
Back to top