Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for InClusterConfig (0.22 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation_test.go

    				field.NotSupported(field.NewPath("connectionInfo"), api.WebhookConnectionInfo{Type: "ExternalClusterConfig"}, []string{"InClusterConfig", "KubeConfigFile"}),
    			},
    			knownTypes:      sets.NewString(string("Webhook")),
    			repeatableTypes: sets.NewString(string("Webhook")),
    		},
    		{
    			name: "if connectionInfo=InClusterConfig, then kubeConfigFile should be nil",
    			configuration: api.AuthorizationConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 87.2K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  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)
  8. cluster/gce/windows/k8s-node-setup.psm1

          }
          $kubernetes_master_name = ${kube_env}['KUBERNETES_MASTER_NAME']
          $flags = "${flags} --apiserver-override=`"https://${kubernetes_master_name}?inClusterConfig=false&auth=${env:NODEPROBLEMDETECTOR_KUBECONFIG_FILE}`""
    
          Log-Output "Creating service: ${NPD_SERVICE}"
          Log-Output "${npd_bin} ${flags}"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. cluster/gce/gci/configure-helper.sh

        flags+=" --port=${npd_port}"
        if [[ -n "${EXTRA_NPD_ARGS:-}" ]]; then
          flags+=" ${EXTRA_NPD_ARGS}"
        fi
      fi
      flags+=" --apiserver-override=https://${KUBERNETES_MASTER_NAME}?inClusterConfig=false&auth=/var/lib/node-problem-detector/kubeconfig"
    
      # Write the systemd service file for node problem detector.
      cat <<EOF >/etc/systemd/system/node-problem-detector.service
    [Unit]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 22:07:47 UTC 2024
    - 141.1K bytes
    - Viewed (0)
Back to top