Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for InClusterConfig (0.2 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/types.go

    	AuthorizationWebhookConnectionInfoTypeKubeConfigFile string         = "KubeConfigFile"
    	AuthorizationWebhookConnectionInfoTypeInCluster      string         = "InClusterConfig"
    )
    
    type AuthorizerType string
    
    type AuthorizerConfiguration struct {
    	// Type refers to the type of the authorizer
    	// "Webhook" is supported in the generic API server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  2. pkg/kube/util.go

    	}
    
    	return SetRestDefaults(restConfig), nil
    }
    
    // InClusterConfig returns the rest.Config for in cluster usage.
    // Typically, DefaultRestConfig is used and this is auto detected; usage directly allows explicitly overriding to use in-cluster.
    func InClusterConfig(fns ...func(*rest.Config)) (*rest.Config, error) {
    	config, err := rest.InClusterConfig()
    	if err != nil {
    		return nil, err
    	}
    
    	for _, fn := range fns {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go

    	AuthorizationWebhookConnectionInfoTypeKubeConfigFile string         = "KubeConfigFile"
    	AuthorizationWebhookConnectionInfoTypeInCluster      string         = "InClusterConfig"
    )
    
    type AuthorizerType string
    
    type AuthorizerConfiguration struct {
    	// Type refers to the type of the authorizer
    	// "Webhook" is supported in the generic API server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/types.go

    	AuthorizationWebhookConnectionInfoTypeKubeConfigFile string         = "KubeConfigFile"
    	AuthorizationWebhookConnectionInfoTypeInCluster      string         = "InClusterConfig"
    )
    
    type AuthorizerType string
    
    type AuthorizerConfiguration struct {
    	// Type refers to the type of the authorizer
    	// "Webhook" is supported in the generic API server
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 17:59:05 UTC 2024
    - 26.6K bytes
    - Viewed (0)
  5. pkg/kube/multicluster/secretcontroller.go

    	// Istiod is running on the external cluster. Use the inCluster credentials to
    	// create a kubeclientset
    	if features.LocalClusterSecretWatcher && features.ExternalIstiod {
    		config, err := kube.InClusterConfig(configOverrides...)
    		if err != nil {
    			log.Errorf("Could not get istiod incluster configuration: %v", err)
    			return nil
    		}
    		log.Info("Successfully retrieved incluster config.")
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 06 02:13:10 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/authentication.go

    	} else {
    		// without the remote kubeconfig file, try to use the in-cluster config.  Most addon API servers will
    		// use this path. If it is optional, ignore errors.
    		clientConfig, err = rest.InClusterConfig()
    		if err != nil && s.RemoteKubeConfigFileOptional {
    			if err != rest.ErrNotInCluster {
    				klog.Warningf("failed to read in-cluster kubeconfig for delegated authentication: %v", err)
    			}
    			return nil, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 21 14:51:22 UTC 2023
    - 19.9K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server.go

    	var err error
    
    	if len(config.Kubeconfig) == 0 && len(masterOverride) == 0 {
    		logger.Info("Neither kubeconfig file nor master URL was specified, falling back to in-cluster config")
    		kubeConfig, err = rest.InClusterConfig()
    	} else {
    		// This creates a client, first loading any specified kubeconfig
    		// file, and then overriding the Master flag, if non-empty.
    		kubeConfig, err = clientcmd.NewNonInteractiveDeferredLoadingClientConfig(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 26 13:27:41 UTC 2024
    - 46.8K bytes
    - Viewed (0)
Back to top