Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for TLSClientConfig (0.18 sec)

  1. cmd/kube-apiserver/app/options/options.go

    	fs.StringVar(&s.KubeletConfig.TLSClientConfig.CertFile, "kubelet-client-certificate", s.KubeletConfig.TLSClientConfig.CertFile,
    		"Path to a client cert file for TLS.")
    
    	fs.StringVar(&s.KubeletConfig.TLSClientConfig.KeyFile, "kubelet-client-key", s.KubeletConfig.TLSClientConfig.KeyFile,
    		"Path to a client key file for TLS.")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 12:19:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/util/webhook/client.go

    		cfg.QPS = -1
    
    		// Combine CAData from the config with any existing CA bundle provided
    		if len(cfg.TLSClientConfig.CAData) > 0 {
    			cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, '\n')
    		}
    		cfg.TLSClientConfig.CAData = append(cfg.TLSClientConfig.CAData, cc.CABundle...)
    
    		cfg.ContentConfig.NegotiatedSerializer = cm.negotiatedSerializer
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 09:09:10 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. internal/http/transports.go

    		IdleConnTimeout:       15 * time.Second,
    		ResponseHeaderTimeout: 15 * time.Minute, // Conservative timeout is the default (for MinIO internode)
    		TLSHandshakeTimeout:   10 * time.Second,
    		TLSClientConfig:       &tlsClientConfig,
    		ForceAttemptHTTP2:     s.EnableHTTP2,
    		// Go net/http automatically unzip if content-type is
    		// gzip disable this feature, as we are always interested
    		// in raw stream.
    		DisableCompression: true,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. pkg/scheduler/extender.go

    	if config.TLSConfig != nil {
    		cfg.TLSClientConfig.Insecure = config.TLSConfig.Insecure
    		cfg.TLSClientConfig.ServerName = config.TLSConfig.ServerName
    		cfg.TLSClientConfig.CertFile = config.TLSConfig.CertFile
    		cfg.TLSClientConfig.KeyFile = config.TLSConfig.KeyFile
    		cfg.TLSClientConfig.CAFile = config.TLSConfig.CAFile
    		cfg.TLSClientConfig.CertData = config.TLSConfig.CertData
    		cfg.TLSClientConfig.KeyData = config.TLSConfig.KeyData
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial.go

    			return dialer(ctx, "tcp", dialAddr)
    		}
    		var d net.Dialer
    		return d.DialContext(ctx, "tcp", dialAddr)
    	case "https":
    		// Get the tls config from the transport if we recognize it
    		tlsConfig, err := utilnet.TLSClientConfig(transport)
    		if err != nil {
    			klog.V(5).Infof("Unable to unwrap transport %T to get at TLS config: %v", transport, err)
    		}
    
    		if dialer != nil {
    			// We have a dialer; use it to open the connection, then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. pkg/test/echo/server/forwarder/http.go

    	}
    
    	return doForward(ctx, cfg, c.e, call.makeRequest)
    }
    
    func newHTTP3TransportGetter(cfg *Config) (httpTransportGetter, func()) {
    	newConn := func() *http3.RoundTripper {
    		return &http3.RoundTripper{
    			TLSClientConfig: cfg.tlsConfig,
    			QUICConfig:      &quic.Config{},
    		}
    	}
    	closeFn := func(conn *http3.RoundTripper) func() {
    		return func() {
    			_ = conn.Close()
    		}
    	}
    	noCloseFn := func() {}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/proxy/dial_test.go

    				DialContext:     tc.Dial,
    				TLSClientConfig: tlsConfigCopy,
    			}
    
    			extractedDial, err := utilnet.DialerFor(transport)
    			if err != nil {
    				t.Fatal(err)
    			}
    			if fmt.Sprintf("%p", extractedDial) != fmt.Sprintf("%p", tc.Dial) {
    				t.Fatalf("%s: Unexpected dial", k)
    			}
    
    			extractedTLSConfig, err := utilnet.TLSClientConfig(transport)
    			if err != nil {
    				t.Fatal(err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 8.4K bytes
    - Viewed (0)
  8. istioctl/pkg/kubeinject/kubeinject.go

    	} else {
    		var err error
    		certPool, err = x509.SystemCertPool()
    		if err != nil {
    			return nil, err
    		}
    	}
    	tlsClientConfig := &tls.Config{RootCAs: certPool, MinVersion: tls.VersionTLS12}
    	client := http.Client{
    		Timeout: time.Second * 5,
    		Transport: &http.Transport{
    			TLSClientConfig: tlsClientConfig,
    		},
    	}
    	if cc.Service != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper.go

    	// Optional.
    	UpgradeTransport http.RoundTripper
    }
    
    // TLSClientConfig implements pkg/util/net.TLSClientConfigHolder for proper TLS checking during
    // proxying with a spdy roundtripper.
    func (s *SpdyRoundTripper) TLSClientConfig() *tls.Config {
    	return s.tlsConfig
    }
    
    // Dial implements k8s.io/apimachinery/pkg/util/net.Dialer.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/httpstream/spdy/roundtripper_test.go

    			upgradeTransport:  &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
    			expectedTLSConfig: &tls.Config{InsecureSkipVerify: true},
    			errMsg:            "SpdyRoundTripper: UpgradeTransport is mutually exclusive to TLSConfig or Proxier",
    		},
    		"Only UpgradeTransport: no error": {
    			upgradeTransport:  &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 23 22:33:38 UTC 2023
    - 32.7K bytes
    - Viewed (0)
Back to top