Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for authProvider (0.53 sec)

  1. cmd/kubeadm/app/util/kubeconfig/kubeconfig.go

    		return true
    	}
    
    	// exec authentication
    	if authInfo.Exec != nil && len(authInfo.Exec.Command) != 0 {
    		return true
    	}
    
    	// authprovider authentication
    	if authInfo.AuthProvider != nil && len(authInfo.AuthProvider.Name) != 0 {
    		return true
    	}
    
    	return false
    }
    
    // EnsureAuthenticationInfoAreEmbedded check if some authentication info are provided as external key/certificate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 10:21:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  2. pkg/kube/client_config.go

    		ImpersonateGroups:     restConfig.Impersonate.Groups,
    		ImpersonateUserExtra:  restConfig.Impersonate.Extra,
    		Username:              restConfig.Username,
    		Password:              restConfig.Password,
    		AuthProvider:          restConfig.AuthProvider,
    		Exec:                  restConfig.ExecProvider,
    	}
    }
    
    func newCluster(restConfig *rest.Config) *api.Cluster {
    	return &api.Cluster{
    		Server:                   restConfig.Host,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 17 16:52:06 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/webhook/authentication.go

    		config.Username = configAuthInfo.Username
    		config.Password = configAuthInfo.Password
    	}
    	if configAuthInfo.Exec != nil {
    		config.ExecProvider = configAuthInfo.Exec.DeepCopy()
    	}
    	if configAuthInfo.AuthProvider != nil {
    		return nil, fmt.Errorf("auth provider not supported")
    	}
    
    	return setGlobalDefaults(config), nil
    }
    
    func setGlobalDefaults(config *rest.Config) *rest.Config {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 9.5K bytes
    - Viewed (0)
Back to top